aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-02-25 03:07:09 +0800
committerHans Petter <hansp@src.gnome.org>2003-02-25 03:07:09 +0800
commitb6fadac1f15f8d66e864521353a4ad2621e4cb6b (patch)
tree39062f7b821b8b7286a12364f3025881eef8755b /widgets/text
parent9cd1c39bc5399f56a6dbaa8f1439b6946aa339b7 (diff)
downloadgsoc2013-evolution-b6fadac1f15f8d66e864521353a4ad2621e4cb6b.tar.gz
gsoc2013-evolution-b6fadac1f15f8d66e864521353a4ad2621e4cb6b.tar.zst
gsoc2013-evolution-b6fadac1f15f8d66e864521353a4ad2621e4cb6b.zip
Don't unref the GtkInvisible - instead, destroy it.
2003-02-24 Hans Petter Jansson <hpj@ximian.com> * gal/e-text/e-text.c (e_text_dispose): Don't unref the GtkInvisible - instead, destroy it. svn path=/trunk/; revision=20040
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index 26b1534817..7a434fdcae 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -208,9 +208,9 @@ e_text_dispose (GObject *object)
if (text->tep)
g_object_unref (text->tep);
text->tep = NULL;
-
+
if (text->invisible)
- g_object_unref (text->invisible);
+ gtk_widget_destroy (text->invisible);
text->invisible = NULL;
g_free (text->primary_selection);