summaryrefslogtreecommitdiff
path: root/src/gui_gtk_x11.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-05-15 13:56:02 +0200
committerBram Moolenaar <Bram@vim.org>2010-05-15 13:56:02 +0200
commitfff2beeeaa2c02a18fa4b2a6807717679e1a6dcf (patch)
treec7f77628ab6a605e7d1c111556a32a52e5c6006e /src/gui_gtk_x11.c
parent00a927d62b68a3523cb1c4f9aa3f7683345c8182 (diff)
downloadvim-git-fff2beeeaa2c02a18fa4b2a6807717679e1a6dcf.tar.gz
First step in the Vim 7.3 branch. Changed version numbers.
Diffstat (limited to 'src/gui_gtk_x11.c')
-rw-r--r--src/gui_gtk_x11.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index f905eaf67..74b6de944 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -4428,7 +4428,7 @@ gui_mch_set_shellsize(int width, int height,
/* this will cause the proper resizement to happen too */
update_window_manager_hints(0, 0);
-#else /* HAVE_GTK2 */
+#else
/* this will cause the proper resizement to happen too */
if (gtk_socket_id == 0)
update_window_manager_hints(0, 0);
@@ -4444,14 +4444,14 @@ gui_mch_set_shellsize(int width, int height,
else
update_window_manager_hints(width, height);
-#if 0
+# if 0
if (!resize_idle_installed)
{
g_idle_add_full(GDK_PRIORITY_EVENTS + 10,
&force_shell_resize_idle, NULL, NULL);
resize_idle_installed = TRUE;
}
-#endif
+# endif
/*
* Wait until all events are processed to prevent a crash because the
* real size of the drawing area doesn't reflect Vim's internal ideas.