aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-text.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/text/e-text.c')
-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);