diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-10-03 16:37:49 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-10-03 16:37:49 +0000 |
commit | d28b8f408841b3ce8e6b8548c795effdcee4e685 (patch) | |
tree | 6899ae0d47ade6244ece593b19368a5be8374d16 | |
parent | fd5394784abccfa969b7ba469752d0b58333f6dd (diff) | |
download | gdk-pixbuf-d28b8f408841b3ce8e6b8548c795effdcee4e685.tar.gz |
Unref the style when removing it from the hash table. (#314696, Benjamin
2005-10-03 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkrc.c (gtk_rc_clear_realized_style): Unref the style when
removing it from the hash table. (#314696, Benjamin Berg)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 5 | ||||
-rw-r--r-- | gtk/gtkrc.c | 3 |
3 files changed, 13 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2005-10-03 Matthias Clasen <mclasen@redhat.com> + + * gtk/gtkrc.c (gtk_rc_clear_realized_style): Unref the style when + removing it from the hash table. (#314696, Benjamin Berg) + 2005-10-01 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkdrawable-win32.c (blit_from_pixmap): In case diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index cb3547aec..654fa9f7d 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2005-10-03 Matthias Clasen <mclasen@redhat.com> + + * gtk/gtkrc.c (gtk_rc_clear_realized_style): Unref the style when + removing it from the hash table. (#314696, Benjamin Berg) + 2005-10-01 Tor Lillqvist <tml@novell.com> * gdk/win32/gdkdrawable-win32.c (blit_from_pixmap): In case diff --git a/gtk/gtkrc.c b/gtk/gtkrc.c index 52725d1ad..2da3af5b1 100644 --- a/gtk/gtkrc.c +++ b/gtk/gtkrc.c @@ -1337,6 +1337,9 @@ gtk_rc_clear_realized_style (gpointer key, { GSList *rc_styles = key; GSList *tmp_list = rc_styles; + GtkStyle *style = value; + + g_object_unref (style); while (tmp_list) { |