changeset 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 47ecef83e2e1
children 541486fde12b
files src/gtkblist.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkblist.c	Mon Feb 06 05:43:09 2006 +0000
+++ b/src/gtkblist.c	Mon Feb 06 07:34:55 2006 +0000
@@ -5519,7 +5519,7 @@
 
 		if (menuitem != gtk_item_factory_get_widget(gtkblist->ift, N_("/Accounts/Add\\/Edit")))
 			gtk_container_remove(GTK_CONTAINER(accountmenu),
-			                     GTK_WIDGET(l->data));
+			                     menuitem);
 	}
 
 	for (accounts = gaim_accounts_get_all(); accounts; accounts = accounts->next) {