pidgin/purple-plugin-pack

Fixes #333.
org.guifications.plugins
2008-08-03, sadrul
75a5bd5b20ab
Parents 1c9869eb9748
Children fe283e690879
Fixes #333.
I cannot reproduce this crash, but looks like the crash happens during
exit, I am thinking perhaps the buddylist window gets closed before the
plugin tries to remove the statusboxes.
--- a/mystatusbox/mystatusbox.c Sun Aug 03 02:17:43 2008 -0400
+++ b/mystatusbox/mystatusbox.c Sun Aug 03 02:36:39 2008 -0400
@@ -235,12 +235,12 @@
purple_prefs_set_int(PREF_SHOW, action);
- if (!gtkblist || !gtkblist_statusboxbox)
+ if (!gtkblist || !gtkblist_statusboxbox || !gtkblist->window ||
+ !PIDGIN_IS_STATUS_BOX(gtkblist->statusbox))
return;
- /* XXX: CHANGE THIS WHEN PIDGIN FINISHES ITS PREFS MIGRATION!!!! */
height = purple_prefs_get_int("/pidgin/blist/height");
-
+
if (!purple_prefs_get_bool(PREF_GLOBAL))
{
gtk_widget_size_request(gtkblist->statusbox, &req);