diff options
author | Owen Taylor <otaylor@redhat.com> | 2000-06-06 02:02:04 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2000-06-06 02:02:04 +0000 |
commit | a03f62c641235ff932c7e8b03210f86c4ef83aed (patch) | |
tree | 50dfa7cf4c919cfacc153a78b3529b914050d674 /gtk/gtkentry.c | |
parent | 3a917e9da7774112e07a6361bbef7424d380c6a7 (diff) | |
download | gtk+-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.c | 3 |
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) |