diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-02-25 15:15:32 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-02-25 15:15:32 +0000 |
commit | d0a4abcbf4ea7ceeb1ef85c0407fe9ab62468bde (patch) | |
tree | 086ad91b08866252b83f157dc20f9045b7d8a63d | |
parent | cc00fe061c91a3df5b4399fd163de7072da4e407 (diff) | |
download | gtk+-d0a4abcbf4ea7ceeb1ef85c0407fe9ab62468bde.tar.gz |
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)
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 5 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 5 | ||||
-rw-r--r-- | gtk/gtkstyle.c | 13 |
6 files changed, 38 insertions, 0 deletions
@@ -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> * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 913b561b66..8694638743 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -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> * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 913b561b66..8694638743 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -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> * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 913b561b66..8694638743 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -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> * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 913b561b66..8694638743 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -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> * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index 6197780dad..7236d98f48 100644 --- a/gtk/gtkstyle.c +++ b/gtk/gtkstyle.c @@ -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); if (style->private_font) |