don't leak all toplevel windows on other screens (correctly remove all

2005-11-23  Michael Natterer  <mitch@imendio.com>

	* gtk/gtkrc.c (gtk_rc_reset_widgets): don't leak all toplevel
	windows on other screens (correctly remove all temporary
	references).
This commit is contained in:
Michael Natterer 2005-11-23 14:23:26 +00:00 committed by Michael Natterer
parent ab9c57d34c
commit a2f1956865
3 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-11-23 Michael Natterer <mitch@imendio.com>
* gtk/gtkrc.c (gtk_rc_reset_widgets): don't leak all toplevel
windows on other screens (correctly remove all temporary
references).
2005-11-23 Michael Natterer <mitch@imendio.com> 2005-11-23 Michael Natterer <mitch@imendio.com>
Added symbolic themable colors. Patch is a merged version of Added symbolic themable colors. Patch is a merged version of

View File

@ -1,3 +1,9 @@
2005-11-23 Michael Natterer <mitch@imendio.com>
* gtk/gtkrc.c (gtk_rc_reset_widgets): don't leak all toplevel
windows on other screens (correctly remove all temporary
references).
2005-11-23 Michael Natterer <mitch@imendio.com> 2005-11-23 Michael Natterer <mitch@imendio.com>
Added symbolic themable colors. Patch is a merged version of Added symbolic themable colors. Patch is a merged version of

View File

@ -1400,8 +1400,9 @@ gtk_rc_reset_widgets (GtkSettings *settings)
if (gtk_widget_get_screen (list->data) == settings->screen) if (gtk_widget_get_screen (list->data) == settings->screen)
{ {
gtk_widget_reset_rc_styles (list->data); gtk_widget_reset_rc_styles (list->data);
g_object_unref (list->data);
} }
g_object_unref (list->data);
} }
g_list_free (toplevels); g_list_free (toplevels);
} }