pidgin/purple-plugin-pack

Hopefully fix #503 by checking for NULL on one more pointer
org.guifications.plugins
2008-08-03, rekkanoryo
4f8f5a18fb94
Parents 8d299a901c8d
Children 8aaff0095557
Hopefully fix #503 by checking for NULL on one more pointer
--- a/infopane/infopane.c Sun Aug 03 08:08:50 2008 -0400
+++ b/infopane/infopane.c Sun Aug 03 08:13:39 2008 -0400
@@ -47,7 +47,7 @@
{
PidginConversation *gtkconv = PIDGIN_CONVERSATION(conv);
PidginWindow *win = gtkconv->win;
- if (win->gtkconvs && win->gtkconvs->next)
+ if (win && win->gtkconvs && win->gtkconvs->next)
return FALSE;
if (purple_prefs_get_bool(PREF_SINGLE)) {
gtk_notebook_set_show_tabs(GTK_NOTEBOOK(win->notebook), TRUE);