Mercurial > pidgin
comparison src/gtkblist.c @ 13132:ba82cc4d1abd
[gaim-migrate @ 15494]
SF Patch #1420607 from Will Thompson (resiak)
This is a one-liner to make the code more readable.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Mon, 06 Feb 2006 07:34:55 +0000 |
parents | a0a4b44239e8 |
children | 00f6445c6879 |
comparison
equal
deleted
inserted
replaced
13131:47ecef83e2e1 | 13132:ba82cc4d1abd |
---|---|
5517 for (l = gtk_container_get_children(GTK_CONTAINER(accountmenu)); l; l = l->next) { | 5517 for (l = gtk_container_get_children(GTK_CONTAINER(accountmenu)); l; l = l->next) { |
5518 menuitem = l->data; | 5518 menuitem = l->data; |
5519 | 5519 |
5520 if (menuitem != gtk_item_factory_get_widget(gtkblist->ift, N_("/Accounts/Add\\/Edit"))) | 5520 if (menuitem != gtk_item_factory_get_widget(gtkblist->ift, N_("/Accounts/Add\\/Edit"))) |
5521 gtk_container_remove(GTK_CONTAINER(accountmenu), | 5521 gtk_container_remove(GTK_CONTAINER(accountmenu), |
5522 GTK_WIDGET(l->data)); | 5522 menuitem); |
5523 } | 5523 } |
5524 | 5524 |
5525 for (accounts = gaim_accounts_get_all(); accounts; accounts = accounts->next) { | 5525 for (accounts = gaim_accounts_get_all(); accounts; accounts = accounts->next) { |
5526 char *buf = NULL; | 5526 char *buf = NULL; |
5527 GtkWidget *image = NULL; | 5527 GtkWidget *image = NULL; |