Mercurial > pidgin
changeset 2428:0394552f2aab
[gaim-migrate @ 2441]
one bug down, several to go.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 04 Oct 2001 23:10:51 +0000 |
parents | 5bc3b39fc0a5 |
children | 18b68d5cc7d8 |
files | src/prpl.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/prpl.c Thu Oct 04 19:36:49 2001 +0000 +++ b/src/prpl.c Thu Oct 04 23:10:51 2001 +0000 @@ -362,7 +362,11 @@ static void des_email_win(GtkWidget *w, struct mail_notify *mn) { - gtk_widget_destroy(mn->email_win); + if (w != mn->email_win) { + gtk_widget_destroy(mn->email_win); + return; + } + debug_printf("removing mail notification\n"); mailnots = g_slist_remove(mailnots, mn); g_free(mn); }