[gnome-shell] StWidget: don't dispose the theme node when destroyed



commit 14fd0eb73e50b154e05cc3dbc811e8d346441dc5
Author: Giovanni Campagna <gcampagna src gnome org>
Date:   Mon Nov 26 22:56:22 2012 +0100

    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

 src/st/st-widget.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/st/st-widget.c b/src/st/st-widget.c
index b1218d3..65de272 100644
--- a/src/st/st-widget.c
+++ b/src/st/st-widget.c
@@ -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;
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]