aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-03-27 20:52:31 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-03-27 20:52:31 +0800
commit31df1c2d557105744195259f42782a116b00d0c6 (patch)
tree2bb2dd80c0644f735932a5bf5ca81372f285e77c
parentf964f65b794916c85949898d18baf2d5d6cd1377 (diff)
downloadgsoc2013-evolution-31df1c2d557105744195259f42782a116b00d0c6.tar
gsoc2013-evolution-31df1c2d557105744195259f42782a116b00d0c6.tar.gz
gsoc2013-evolution-31df1c2d557105744195259f42782a116b00d0c6.tar.bz2
gsoc2013-evolution-31df1c2d557105744195259f42782a116b00d0c6.tar.lz
gsoc2013-evolution-31df1c2d557105744195259f42782a116b00d0c6.tar.xz
gsoc2013-evolution-31df1c2d557105744195259f42782a116b00d0c6.tar.zst
gsoc2013-evolution-31df1c2d557105744195259f42782a116b00d0c6.zip
Use gnome-dialog-close instead of object_unref, for some reason it doesn't
2001-03-27 Not Zed <NotZed@Ximian.com> * 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
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-send-recv.c2
2 files changed, 8 insertions, 1 deletions
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 <NotZed@Ximian.com>
+
+ * 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 <danw@ximian.com>
* 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();
}