Mercurial > pidgin.yaz
comparison pidgin/gtkblist.c @ 21397:521df9b2698a
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.
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Sat, 03 Nov 2007 12:17:06 +0000 |
parents | 78f8a19785b1 |
children | 0a7cccd6d081 |
comparison
equal
deleted
inserted
replaced
21396:78f8a19785b1 | 21397:521df9b2698a |
---|---|
4244 #endif | 4244 #endif |
4245 0, 0, | 4245 0, 0, |
4246 widget->allocation.width - 2 - HEADLINE_CLOSE_SIZE, 2, | 4246 widget->allocation.width - 2 - HEADLINE_CLOSE_SIZE, 2, |
4247 HEADLINE_CLOSE_SIZE, HEADLINE_CLOSE_SIZE, | 4247 HEADLINE_CLOSE_SIZE, HEADLINE_CLOSE_SIZE, |
4248 GDK_RGB_DITHER_NONE, 0, 0); | 4248 GDK_RGB_DITHER_NONE, 0, 0); |
4249 #if 0 | |
4250 /* The presence of one opening paren in each branch of | |
4251 * GTK_CHECK_VERSION confuses vim's bracket matching for the | |
4252 * rest of the file. | |
4253 */ | |
4254 ) | |
4255 #endif | |
4249 gtk_paint_focus(widget->style, widget->window, GTK_STATE_PRELIGHT, | 4256 gtk_paint_focus(widget->style, widget->window, GTK_STATE_PRELIGHT, |
4250 NULL, widget, NULL, | 4257 NULL, widget, NULL, |
4251 widget->allocation.width - HEADLINE_CLOSE_SIZE - 3, 1, | 4258 widget->allocation.width - HEADLINE_CLOSE_SIZE - 3, 1, |
4252 HEADLINE_CLOSE_SIZE + 2, HEADLINE_CLOSE_SIZE + 2); | 4259 HEADLINE_CLOSE_SIZE + 2, HEADLINE_CLOSE_SIZE + 2); |
4253 } | 4260 } |