mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
StWidget: don't dispose the theme node when destroyed
Theme nodes are interned and shared with other widgets, so they cannot be disposed, otherwise we blow useful resources, and in particular we break the parent-child chain. https://bugzilla.gnome.org/show_bug.cgi?id=689029
This commit is contained in:
parent
ca73017100
commit
14fd0eb73e
1 changed files with 0 additions and 1 deletions
|
|
@ -316,7 +316,6 @@ st_widget_dispose (GObject *gobject)
|
|||
|
||||
if (priv->theme_node)
|
||||
{
|
||||
g_object_run_dispose (G_OBJECT (priv->theme_node));
|
||||
g_object_unref (priv->theme_node);
|
||||
priv->theme_node = NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue