Mercurial > pidgin
comparison gtk/gtkblist.c @ 15245:d5e7690a9b06
[gaim-migrate @ 18035]
Get rid of a compile warning:
gtkblist.c: In function ¡Æredo_buddy_list¡Ç:
gtkblist.c:4378: warning: ISO C90 forbids mixed declarations and code
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 21 Dec 2006 08:14:05 +0000 |
parents | ebe19ec7c78c |
children | b17a907065cc |
comparison
equal
deleted
inserted
replaced
15244:ebe19ec7c78c | 15245:d5e7690a9b06 |
---|---|
4369 gaim_signal_emit(handle, "gtkblist-created", list); | 4369 gaim_signal_emit(handle, "gtkblist-created", list); |
4370 } | 4370 } |
4371 | 4371 |
4372 static void redo_buddy_list(GaimBuddyList *list, gboolean remove, gboolean rerender) | 4372 static void redo_buddy_list(GaimBuddyList *list, gboolean remove, gboolean rerender) |
4373 { | 4373 { |
4374 GaimBlistNode *node; | |
4375 | |
4374 gtkblist = GAIM_GTK_BLIST(list); | 4376 gtkblist = GAIM_GTK_BLIST(list); |
4375 if(!gtkblist || !gtkblist->treeview) | 4377 if(!gtkblist || !gtkblist->treeview) |
4376 return; | 4378 return; |
4377 | 4379 |
4378 GaimBlistNode *node = list->root; | 4380 node = list->root; |
4379 | 4381 |
4380 while (node) | 4382 while (node) |
4381 { | 4383 { |
4382 /* This is only needed when we're reverting to a non-GTK+ sorted | 4384 /* This is only needed when we're reverting to a non-GTK+ sorted |
4383 * status. We shouldn't need to remove otherwise. | 4385 * status. We shouldn't need to remove otherwise. |