im.pidgin.pidgin: 128a3fb0f62cc3c81468823030ef485661ca93e6

sadrul at pidgin.im sadrul at pidgin.im
Tue Jan 8 21:15:41 EST 2008


-----------------------------------------------------------------
Revision: 128a3fb0f62cc3c81468823030ef485661ca93e6
Ancestor: 4ee5892f234555949f9d4ee3a3fd14d49e642b64
Author: sadrul at pidgin.im
Date: 2008-01-07T15:16:33
Branch: im.pidgin.pidgin

Modified files:
        finch/gntroomlist.c

ChangeLog: 

Unset some stuff to make sure Sylar can't kill us.

-------------- next part --------------
============================================================
--- finch/gntroomlist.c	9fdd57d258902d6115b82b302b0ead0002d80132
+++ finch/gntroomlist.c	179f202504653468a01995441ea507530951938a
@@ -65,8 +65,12 @@ unset_roomlist(gpointer null)
 unset_roomlist(gpointer null)
 {
 	froomlist.window = NULL;
-	if (froomlist.roomlist)
+	if (froomlist.roomlist) {
 		purple_roomlist_unref(froomlist.roomlist);
+		froomlist.roomlist = NULL;
+	}
+	froomlist.account = NULL;
+	froomlist.tree = NULL;
 }
 
 static void
@@ -97,6 +101,7 @@ static void fl_get_list(GntWidget *butto
 	if (!gc)
 		return;
 
+	update_roomlist(NULL);
 	froomlist.roomlist = purple_roomlist_get_list(gc);
 	gnt_box_give_focus_to_child(GNT_BOX(froomlist.window), froomlist.tree);
 }


More information about the Commits mailing list