summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2000-06-06 02:02:04 +0000
committerOwen Taylor <otaylor@src.gnome.org>2000-06-06 02:02:04 +0000
commita03f62c641235ff932c7e8b03210f86c4ef83aed (patch)
tree50dfa7cf4c919cfacc153a78b3529b914050d674 /gtk/gtkentry.c
parent3a917e9da7774112e07a6361bbef7424d380c6a7 (diff)
downloadgtk+-a03f62c641235ff932c7e8b03210f86c4ef83aed.tar.gz
Unref the entry's layout.
Tue Jun 6 01:59:57 2000 Owen Taylor <otaylor@redhat.com> * gtk/gtkentry.c (gtk_entry_finalize): Unref the entry's layout.
Diffstat (limited to 'gtk/gtkentry.c')
-rw-r--r--gtk/gtkentry.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c
index 1f11a5a0c3..9dfe3e3e2c 100644
--- a/gtk/gtkentry.c
+++ b/gtk/gtkentry.c
@@ -509,6 +509,9 @@ gtk_entry_finalize (GObject *object)
entry = GTK_ENTRY (object);
+ if (entry->layout)
+ pango_layout_unref (entry->layout);
+
gtk_object_unref (GTK_OBJECT (entry->im_context));
if (entry->timer)