# HG changeset patch # User Will Thompson # Date 1194092226 0 # Node ID 521df9b2698aa4cde0bbd20deb16258582370524 # Parent 78f8a19785b109cc455224782667e7437ed9f263 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. diff -r 78f8a19785b1 -r 521df9b2698a pidgin/gtkblist.c --- a/pidgin/gtkblist.c Sat Nov 03 12:12:02 2007 +0000 +++ b/pidgin/gtkblist.c Sat Nov 03 12:17:06 2007 +0000 @@ -4246,6 +4246,13 @@ 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,