pidgin/gtknotify.c

changeset 27470
328658067ce6
parent 27410
69470d6cbabd
child 27476
d44640cb5686
--- a/pidgin/gtknotify.c	Wed Jul 01 00:18:23 2009 +0000
+++ b/pidgin/gtknotify.c	Wed Jul 01 03:53:48 2009 +0000
@@ -549,7 +549,7 @@
 				advanced = FALSE;
 				gtk_tree_model_get(GTK_TREE_MODEL(treemodel), &iter,
 						PIDGIN_MAIL_DATA, &data, -1);
-				if (data->account == account) {
+				if (data && data->account == account) {
 					if (clear) {
 #if GTK_CHECK_VERSION(2,2,0)
 						advanced = gtk_tree_store_remove(treemodel, &iter);

mercurial