]> Pileus Git - ~andy/gtk/commitdiff
Unref the entry's layout.
authorOwen Taylor <otaylor@redhat.com>
Tue, 6 Jun 2000 02:02:04 +0000 (02:02 +0000)
committerOwen Taylor <otaylor@src.gnome.org>
Tue, 6 Jun 2000 02:02:04 +0000 (02:02 +0000)
Tue Jun  6 01:59:57 2000  Owen Taylor  <otaylor@redhat.com>

* gtk/gtkentry.c (gtk_entry_finalize): Unref the entry's layout.

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkentry.c

index 910b83c39961a4472e857466c1068579dc43ffec..9d8b02fc23530c8346fc57ffaacd7322d74fac26 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 910b83c39961a4472e857466c1068579dc43ffec..9d8b02fc23530c8346fc57ffaacd7322d74fac26 100644 (file)
@@ -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
index 910b83c39961a4472e857466c1068579dc43ffec..9d8b02fc23530c8346fc57ffaacd7322d74fac26 100644 (file)
@@ -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
index 910b83c39961a4472e857466c1068579dc43ffec..9d8b02fc23530c8346fc57ffaacd7322d74fac26 100644 (file)
@@ -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
index 910b83c39961a4472e857466c1068579dc43ffec..9d8b02fc23530c8346fc57ffaacd7322d74fac26 100644 (file)
@@ -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
index 910b83c39961a4472e857466c1068579dc43ffec..9d8b02fc23530c8346fc57ffaacd7322d74fac26 100644 (file)
@@ -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
index 910b83c39961a4472e857466c1068579dc43ffec..9d8b02fc23530c8346fc57ffaacd7322d74fac26 100644 (file)
@@ -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
index 1f11a5a0c304794c333358ec1a753b2cb4e90e8f..9dfe3e3e2c3be9cbcc72409fe1a3ed3749323477 100644 (file)
@@ -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)