diff --git a/runtime/doc/todo.txt b/runtime/doc/todo.txt
index ddc6b05f9f6e42d9a502cd43a216d698b111b0fc..199c5519b48f473ddb74f4a30ba7e09cd85df0d6 100644
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -1,4 +1,4 @@
-*todo.txt*      For Vim version 7.0aa.  Last change: 2006 Mar 02
+*todo.txt*      For Vim version 7.0aa.  Last change: 2006 Mar 03
 
 
 		  VIM REFERENCE MANUAL	  by Bram Moolenaar
@@ -30,17 +30,6 @@ be worked on, but only if you sponsor Vim development.  See |sponsor|.
 							*known-bugs*
 -------------------- Known bugs and current work -----------------------
 
-Add setpos(), opposite  of getpos().
-7   Add the markclear() function to delete a mark in another buffer.  Charles
-    Campbell (2004 Jan 9)
-    http://mysite.verizon.net/astronaut/vim/index.html#Patch
-    Implement setmark(markname, lnum [, col [, filename]]) instead?
-    When "lnum" is zero delete the mark.
-    When "filename" has no wildcards and there is no matching buffer, add
-    the buffer (unlisted).
-
-Make match() use {start} differently when using {count} argument.
-
 Function to get and restore window position?  Including topline, column
 offset, etc.  Use dictionary to store the info?
 
@@ -1464,7 +1453,8 @@ Folding:
     to implement this?
 -   "zJ" command: add the line or fold below the fold in the fold under the
     cursor.
--   'foldmethod' "syntax": "fold=3": set fold level for a region.
+-   'foldmethod' "syntax": "fold=3" argument: set fold level for a region or
+    match.
 -   Apply a new foldlevel to a range of lines. (Steve Litt)
 8   Have some way to restrict commands to not folded text.  Also commands like
     searches.
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index 8e66d33ee0a44a89979e6805c1afeddf844956fa..04f1372ec2aeae3fb782eec874681c9e518d0e5a 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -3198,11 +3198,22 @@ gui_mch_show_tabline(int showit)
 
     if (!showit != !gtk_notebook_get_show_tabs(GTK_NOTEBOOK(gui.tabline)))
     {
+	/* Note: this may cause a resize event */
 	gtk_notebook_set_show_tabs(GTK_NOTEBOOK(gui.tabline), showit);
 	update_window_manager_hints();
     }
 }
 
+/*
+ * Return TRUE when tabline is displayed.
+ */
+    int
+gui_mch_showing_tabline(void)
+{
+    return gui.tabline != NULL
+		     && gtk_notebook_get_show_tabs(GTK_NOTEBOOK(gui.tabline));
+}
+
 /*
  * Update the labels of the tabline.
  */