Free style->icon_factories (#130128)

Wed Feb 25 09:46:34 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkstyle.c (gtk_style_finalize): Free
        style->icon_factories (#130128)
This commit is contained in:
Owen Taylor 2004-02-25 15:15:32 +00:00 committed by Owen Taylor
parent cc00fe061c
commit d0a4abcbf4
6 changed files with 38 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Wed Feb 25 09:46:34 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_finalize): Free
style->icon_factories (#130128)
Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org> Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around

View File

@ -1,3 +1,8 @@
Wed Feb 25 09:46:34 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_finalize): Free
style->icon_factories (#130128)
Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org> Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around

View File

@ -1,3 +1,8 @@
Wed Feb 25 09:46:34 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_finalize): Free
style->icon_factories (#130128)
Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org> Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around

View File

@ -1,3 +1,8 @@
Wed Feb 25 09:46:34 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_finalize): Free
style->icon_factories (#130128)
Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org> Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around

View File

@ -1,3 +1,8 @@
Wed Feb 25 09:46:34 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_style_finalize): Free
style->icon_factories (#130128)
Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org> Wed Feb 25 03:52:58 2004 Jonathan Blandford <jrb@gnome.org>
* gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around

View File

@ -687,6 +687,19 @@ gtk_style_finalize (GObject *object)
} }
} }
if (style->icon_factories)
{
GSList *tmp_list = style->icon_factories;
while (tmp_list)
{
g_object_unref (tmp_list->data);
tmp_list = tmp_list->next;
}
g_slist_free (style->icon_factories);
}
pango_font_description_free (style->font_desc); pango_font_description_free (style->font_desc);
if (style->private_font) if (style->private_font)