Mercurial > pidgin
changeset 20292:3971a4d2552c
merge of '0613a008df1c1f24a3a3e8dfbbde45ca5dba9f07'
and 'e6daf7d8419f7c4afaa3690aa74e1785b37ffe19'
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 29 Sep 2007 15:16:16 +0000 |
parents | 094fbf1996b1 (current diff) 008865326919 (diff) |
children | 1b17b6bc3b17 |
files | |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/pidgin/gtknotify.c Sat Sep 29 15:10:44 2007 +0000 +++ b/pidgin/gtknotify.c Sat Sep 29 15:16:16 2007 +0000 @@ -430,7 +430,12 @@ PIDGIN_MAIL_DATA, &data, -1); if (data->account == account) { if (clear) { +#if GTK_CHECK_VERSION(2,2,0) advanced = gtk_tree_store_remove(treemodel, &iter); +#else + gtk_tree_store_remove(treemodel, &iter); + advanced = (iter.stamp == 0) ? FALSE : TRUE; +#endif purple_notify_close(PURPLE_NOTIFY_EMAILS, data); /* We're completely done if we've processed all entries */ if (!advanced)