Commit d651bb25 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Really free the list. (#158422, Morten Welinder)

2004-11-15  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkimagemenuitem.c (gtk_image_menu_item_setting_changed):
	* gtk/gtkbutton.c (gtk_button_setting_changed): Really free the
	list.  (#158422, Morten Welinder)
parent a5869f4c
2004-11-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed):
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_setting_changed):
* gtk/gtkbutton.c (gtk_button_setting_changed): Really free the
list. (#158422, Morten Welinder)
2004-11-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed)
* gtk/gtkbutton.c (gtk_button_screen_changed): Use
GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420,
Morten Welinder)
......
2004-11-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed):
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_setting_changed):
* gtk/gtkbutton.c (gtk_button_setting_changed): Really free the
list. (#158422, Morten Welinder)
2004-11-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed)
* gtk/gtkbutton.c (gtk_button_screen_changed): Use
GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420,
Morten Welinder)
......
2004-11-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed):
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_setting_changed):
* gtk/gtkbutton.c (gtk_button_setting_changed): Really free the
list. (#158422, Morten Welinder)
2004-11-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed)
* gtk/gtkbutton.c (gtk_button_screen_changed): Use
GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420,
Morten Welinder)
......
2004-11-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed):
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_setting_changed):
* gtk/gtkbutton.c (gtk_button_setting_changed): Really free the
list. (#158422, Morten Welinder)
2004-11-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkimagemenuitem.c (gtk_image_menu_item_screen_changed)
* gtk/gtkbutton.c (gtk_button_screen_changed): Use
GPOINTER_TO_UINT()/GUINT_TO_POINTER() for guints. (#158420,
Morten Welinder)
......
......@@ -1672,12 +1672,13 @@ traverse_container (GtkWidget *widget,
static void
gtk_button_setting_changed (GtkSettings *settings)
{
GList *list;
GList *list, *l;
list = gtk_window_list_toplevels ();
for (; list; list = list->next)
gtk_container_forall (GTK_CONTAINER (list->data), traverse_container, NULL);
for (l = list; l; l = l->next)
gtk_container_forall (GTK_CONTAINER (l->data),
traverse_container, NULL);
g_list_free (list);
}
......
......@@ -566,12 +566,13 @@ traverse_container (GtkWidget *widget,
static void
gtk_image_menu_item_setting_changed (GtkSettings *settings)
{
GList *list;
GList *list, *l;
list = gtk_window_list_toplevels ();
for (; list; list = list->next)
gtk_container_forall (GTK_CONTAINER (list->data), traverse_container, NULL);
for (l = list; l; l = l->next)
gtk_container_forall (GTK_CONTAINER (l->data),
traverse_container, NULL);
g_list_free (list);
}
......
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