im.pidgin.pidgin: c1bdec9375bee85ed8f1e7bcfcd60fac3ae61f62

nosnilmot at pidgin.im nosnilmot at pidgin.im
Sat Nov 10 17:42:06 EST 2007


-----------------------------------------------------------------
Revision: c1bdec9375bee85ed8f1e7bcfcd60fac3ae61f62
Ancestor: 9e5e4cdd0ee1212ba93c50907b439a9aa222bee9
Author: nosnilmot at pidgin.im
Date: 2007-11-10T22:28:55
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtkconv.c

ChangeLog: 

Fix for the crash reported by WormFood in #pidgin when right clicking on
the info pane for a conversation when the account is disconnected.

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	58e6dace82c97d841b5438cb54327c07a774b1a7
+++ pidgin/gtkconv.c	8a2a7e4171c9f2be365ca13ec43d77018acedd3e
@@ -3074,6 +3074,9 @@ populate_menu_with_options(GtkWidget *me
 					chat, (GDestroyNotify)purple_blist_remove_chat);
 		}
 	} else {
+		if (!purple_account_is_connected(conv->account))
+			return FALSE;
+
 		buddy = purple_find_buddy(conv->account, conv->name);
 
 		/* gotta remain bug-compatible :( libpurple < 2.0.2 didn't handle


More information about the Commits mailing list