im.pidgin.pidgin: f1f4aea1b8d35478989dfc76c28cad9c5664e150

sadrul at pidgin.im sadrul at pidgin.im
Sat Jan 12 02:50:41 EST 2008


-----------------------------------------------------------------
Revision: f1f4aea1b8d35478989dfc76c28cad9c5664e150
Ancestor: 3a3d731ceddf62d569fa8c7488782167189f44c1
Author: sadrul at pidgin.im
Date: 2008-01-12T07:31:25
Branch: im.pidgin.pidgin

Modified files:
        finch/gntroomlist.c

ChangeLog: 

Fix CID #380 by using an assigned variable.

-------------- next part --------------
============================================================
--- finch/gntroomlist.c	179f202504653468a01995441ea507530951938a
+++ finch/gntroomlist.c	4375fb5361c4792acdc3eb6ac90caf3712f47ed5
@@ -287,10 +287,10 @@ setup_roomlist(PurpleAccount *account)
 
 	froomlist.accounts = accounts = gnt_combo_box_new();
 	reset_account_list(account);
-	gnt_box_add_widget(GNT_BOX(window), froomlist.accounts);
-	g_signal_connect(G_OBJECT(froomlist.accounts), "selection-changed",
+	gnt_box_add_widget(GNT_BOX(window), accounts);
+	g_signal_connect(G_OBJECT(accounts), "selection-changed",
 			G_CALLBACK(roomlist_account_changed), NULL);
-	froomlist.account = gnt_combo_box_get_selected_data(GNT_COMBO_BOX(froomlist.accounts));
+	froomlist.account = gnt_combo_box_get_selected_data(GNT_COMBO_BOX(accounts));
 
 	froomlist.tree = tree = gnt_tree_new_with_columns(2);
 	gnt_tree_set_show_title(GNT_TREE(tree), TRUE);


More information about the Commits mailing list