im.pidgin.cpw.resiak.disconnectreason: f10974c81a6eda6fa97865005f54da0cbd5e625a

resiak at soc.pidgin.im resiak at soc.pidgin.im
Sat Nov 3 08:20:34 EDT 2007


-----------------------------------------------------------------
Revision: f10974c81a6eda6fa97865005f54da0cbd5e625a
Ancestor: e96c6bfc2ce30746c5bdf1c0b297fdb75851943b
Author: resiak at soc.pidgin.im
Date: 2007-11-03T12:17:06
Branch: im.pidgin.cpw.resiak.disconnectreason

Modified files:
        pidgin/gtkblist.c

ChangeLog: 

Work around a bug in vim's bracket matching, whereby it doesn't realise that
only one branch of an #ifdef applies and claims that every subsequent bracket
in the entire file is unbalanced.

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	6359d5c1ba429b5e4862bf8d909114fa91b62408
+++ pidgin/gtkblist.c	be7ea2f04c3525e8844e2dfba3039a9c657fe5cc
@@ -4246,6 +4246,13 @@ headline_box_enter_cb(GtkWidget *widget,
 					widget->allocation.width - 2 - HEADLINE_CLOSE_SIZE, 2,
 					HEADLINE_CLOSE_SIZE, HEADLINE_CLOSE_SIZE,
 					GDK_RGB_DITHER_NONE, 0, 0);
+#if 0
+		/* The presence of one opening paren in each branch of
+		 * GTK_CHECK_VERSION confuses vim's bracket matching for the
+		 * rest of the file.
+		 */
+		)
+#endif
 		gtk_paint_focus(widget->style, widget->window, GTK_STATE_PRELIGHT,
 				NULL, widget, NULL,
 				widget->allocation.width - HEADLINE_CLOSE_SIZE - 3, 1,


More information about the Commits mailing list