From 31df1c2d557105744195259f42782a116b00d0c6 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 27 Mar 2001 12:52:31 +0000 Subject: Use gnome-dialog-close instead of object_unref, for some reason it doesn't 2001-03-27 Not Zed * mail-send-recv.c (receive_done): Use gnome-dialog-close instead of object_unref, for some reason it doesn't like being unref'd with a refcount of 1, _who knows_. Gets rid of that refcount warning on get mail. svn path=/trunk/; revision=8976 --- mail/ChangeLog | 7 +++++++ mail/mail-send-recv.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 41fca130d9..b030625eed 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2001-03-27 Not Zed + + * mail-send-recv.c (receive_done): Use gnome-dialog-close instead + of object_unref, for some reason it doesn't like being unref'd + with a refcount of 1, _who knows_. Gets rid of that refcount + warning on get mail. + 2001-03-27 Dan Winship * mail-config.glade: Probably the very last new config dialog diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index 360198e141..533c35a2be 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -488,7 +488,7 @@ receive_done (char *uri, void *data) if (g_hash_table_size(info->data->active) == 0) { if (info->data->gd) - gtk_object_unref((GtkObject *)info->data->gd); + gnome_dialog_close(info->data->gd); free_send_data(); } -- cgit