forked from AuroraMiddleware/gtk
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)
This commit is contained in:
parent
73a27a3cee
commit
1ab667fcbb
@ -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
|
||||
|
@ -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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user