Commit 1ab667fc authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

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)
parent 73a27a3c
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
......
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
......
......@@ -1337,7 +1337,10 @@ 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)
{
GtkRcStyle *rc_style = tmp_list->data;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment