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.
This commit is contained in:
parent
3a917e9da7
commit
a03f62c641
@ -1,3 +1,7 @@
|
||||
Tue Jun 6 01:59:57 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_finalize): Unref the entry's layout.
|
||||
|
||||
Mon Jun 5 16:00:09 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdk.c (gdk_init_check): Add call to g_type_init() - we'll
|
||||
|
@ -1,3 +1,7 @@
|
||||
Tue Jun 6 01:59:57 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_finalize): Unref the entry's layout.
|
||||
|
||||
Mon Jun 5 16:00:09 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdk.c (gdk_init_check): Add call to g_type_init() - we'll
|
||||
|
@ -1,3 +1,7 @@
|
||||
Tue Jun 6 01:59:57 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_finalize): Unref the entry's layout.
|
||||
|
||||
Mon Jun 5 16:00:09 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdk.c (gdk_init_check): Add call to g_type_init() - we'll
|
||||
|
@ -1,3 +1,7 @@
|
||||
Tue Jun 6 01:59:57 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_finalize): Unref the entry's layout.
|
||||
|
||||
Mon Jun 5 16:00:09 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdk.c (gdk_init_check): Add call to g_type_init() - we'll
|
||||
|
@ -1,3 +1,7 @@
|
||||
Tue Jun 6 01:59:57 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_finalize): Unref the entry's layout.
|
||||
|
||||
Mon Jun 5 16:00:09 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdk.c (gdk_init_check): Add call to g_type_init() - we'll
|
||||
|
@ -1,3 +1,7 @@
|
||||
Tue Jun 6 01:59:57 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_finalize): Unref the entry's layout.
|
||||
|
||||
Mon Jun 5 16:00:09 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdk.c (gdk_init_check): Add call to g_type_init() - we'll
|
||||
|
@ -1,3 +1,7 @@
|
||||
Tue Jun 6 01:59:57 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_finalize): Unref the entry's layout.
|
||||
|
||||
Mon Jun 5 16:00:09 2000 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gdk/gdk.c (gdk_init_check): Add call to g_type_init() - we'll
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user