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,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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user