im.pidgin.pidgin: c93ff822e1d2ed0916468029ebfbbea0ed0f28fa

datallah at pidgin.im datallah at pidgin.im
Mon Dec 3 17:40:46 EST 2007


-----------------------------------------------------------------
Revision: c93ff822e1d2ed0916468029ebfbbea0ed0f28fa
Ancestor: e68a819d41fa330b4829782ee726cbe3d0dfa013
Author: datallah at pidgin.im
Date: 2007-12-03T22:35:26
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtkblist.c

ChangeLog: 

Fix a crash that occurs when creating the "Move To" menu for buddies that aren't on your list. Fixes #4217.

-------------- next part --------------
============================================================
--- pidgin/gtkblist.c	9fe8e46b3e3a5c446eacebea49684a80314b2c21
+++ pidgin/gtkblist.c	5007ba7a2fc19838c55d37c086d991c079946d38
@@ -1398,7 +1398,7 @@ pidgin_blist_make_buddy_menu(GtkWidget *
 	pidgin_append_blist_node_proto_menu(menu, buddy->account->gc, node);
 	pidgin_append_blist_node_extended_menu(menu, node);
 
-	if (!contact_expanded)
+	if (!contact_expanded && contact != NULL)
 		pidgin_append_blist_node_move_to_menu(menu, (PurpleBlistNode *)contact);
 
 	if (node->parent && node->parent->child->next && 


More information about the Commits mailing list