aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-10-19 10:56:26 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-10-19 10:56:26 +0800
commitdf2ef401fca583730984558a08a4da0654bb44e7 (patch)
tree30ef036ad86c098dd15a1ce66e2978b4004116ba /mail
parentebd5037382ef34c03ad7dc8164cd3776af157770 (diff)
downloadgsoc2013-evolution-df2ef401fca583730984558a08a4da0654bb44e7.tar
gsoc2013-evolution-df2ef401fca583730984558a08a4da0654bb44e7.tar.gz
gsoc2013-evolution-df2ef401fca583730984558a08a4da0654bb44e7.tar.bz2
gsoc2013-evolution-df2ef401fca583730984558a08a4da0654bb44e7.tar.lz
gsoc2013-evolution-df2ef401fca583730984558a08a4da0654bb44e7.tar.xz
gsoc2013-evolution-df2ef401fca583730984558a08a4da0654bb44e7.tar.zst
gsoc2013-evolution-df2ef401fca583730984558a08a4da0654bb44e7.zip
** See bug #68006.
2004-10-18 Not Zed <NotZed@Ximian.com> ** See bug #68006. * em-folder-view.c (emfv_init): dont ref/sink the invisible. (emfv_destroy): just destroy it here. svn path=/trunk/; revision=27612
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/em-folder-view.c4
2 files changed, 8 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index c757d464f5..752865b4c9 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,10 @@
+2004-10-18 Not Zed <NotZed@Ximian.com>
+
+ ** See bug #68006.
+
+ * em-folder-view.c (emfv_init): dont ref/sink the invisible.
+ (emfv_destroy): just destroy it here.
+
2004-10-15 Not Zed <NotZed@Ximian.com>
* em-composer-utils.c (create_new_composer):
diff --git a/mail/em-folder-view.c b/mail/em-folder-view.c
index ff53fa4eb0..a87dc02dba 100644
--- a/mail/em-folder-view.c
+++ b/mail/em-folder-view.c
@@ -190,8 +190,6 @@ emfv_init(GObject *o)
g_signal_connect (emfv->preview, "on_url", G_CALLBACK (emfv_on_url_cb), emfv);
p->invisible = gtk_invisible_new();
- g_object_ref(p->invisible);
- gtk_object_sink((GtkObject *)p->invisible);
g_signal_connect(p->invisible, "selection_get", G_CALLBACK(emfv_selection_get), emfv);
g_signal_connect(p->invisible, "selection_clear_event", G_CALLBACK(emfv_selection_clear_event), emfv);
gtk_selection_add_target(p->invisible, GDK_SELECTION_PRIMARY, GDK_SELECTION_TYPE_STRING, 0);
@@ -252,7 +250,7 @@ emfv_destroy (GtkObject *o)
}
if (p->invisible) {
- g_object_unref(p->invisible);
+ gtk_object_destroy(p->invisible);
p->invisible = NULL;
}