mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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:
parent
ab9c57d34c
commit
a2f1956865
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user