[gnome-shell] unref theme_node in st_widget_dispose
- From: Maxim Ermilov <mermilov src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] unref theme_node in st_widget_dispose
- Date: Wed, 17 Mar 2010 20:44:57 +0000 (UTC)
commit 690deeb502d49e85abc1135b961f661be10bbb62
Author: Maxim Ermilov <zaspire rambler ru>
Date: Wed Mar 17 18:40:42 2010 +0300
unref theme_node in st_widget_dispose
https://bugzilla.gnome.org/show_bug.cgi?id=612318
src/st/st-widget.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/st/st-widget.c b/src/st/st-widget.c
index 08768f7..e09c3a1 100644
--- a/src/st/st-widget.c
+++ b/src/st/st-widget.c
@@ -242,6 +242,12 @@ st_widget_dispose (GObject *gobject)
priv->background_image_shadow = NULL;
}
+ if (priv->theme_node)
+ {
+ g_object_unref (priv->theme_node);
+ priv->theme_node = NULL;
+ }
+
if (priv->tooltip)
{
ClutterContainer *parent;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]