changeset 27321:47a2b94cf059

merge of '183db7b36f0f27730e6f1b86c30b7ab9dfb22ab7' and '28b86ce49cc2f235b2107932b91f6a290b924efe'
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 01 Jul 2009 08:18:47 +0000
parents 2ee77820cf5e (current diff) 8ecd6945a96a (diff)
children f22b8f624a00
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtknotify.c	Wed Jul 01 08:17:10 2009 +0000
+++ b/pidgin/gtknotify.c	Wed Jul 01 08:18:47 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);