[gnome-control-center] shell: oops gmenu_tree isn't a gobject
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] shell: oops gmenu_tree isn't a gobject
- Date: Mon, 7 Mar 2011 21:20:50 +0000 (UTC)
commit b86c55cf47aeb6743ab6f2d85cee5500a79a1239
Author: William Jon McCann <jmccann redhat com>
Date: Mon Mar 7 16:20:11 2011 -0500
shell: oops gmenu_tree isn't a gobject
So don't unref it like one.
shell/gnome-control-center.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index d5ccfe6..7d8d930 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -885,7 +885,7 @@ gnome_control_center_finalize (GObject *object)
if (priv->menu_tree)
{
gmenu_tree_remove_monitor (priv->menu_tree, (GMenuTreeChangedFunc)on_menu_changed, object);
- g_object_unref (priv->menu_tree);
+ gmenu_tree_unref (priv->menu_tree);
}
if (priv->category_views)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]