aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-glib
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-08 15:53:24 -0600
committerTed Gould <ted@gould.cx>2010-02-08 15:53:24 -0600
commit2b26528b9d2feefd8ab014e7743a12521837be5f (patch)
treef0eac5a1eff525942c77d5fe033c9af7ed3ce33c /libdbusmenu-glib
parent12f9f09aab33976f0bfe0ee358f3335df6c0ff9c (diff)
downloadlibdbusmenu-2b26528b9d2feefd8ab014e7743a12521837be5f.tar.gz
libdbusmenu-2b26528b9d2feefd8ab014e7743a12521837be5f.tar.bz2
libdbusmenu-2b26528b9d2feefd8ab014e7743a12521837be5f.zip
Removing the setting of root and the ref.
Diffstat (limited to 'libdbusmenu-glib')
-rw-r--r--libdbusmenu-glib/client.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libdbusmenu-glib/client.c b/libdbusmenu-glib/client.c
index 7bc3eb5..64fc7d3 100644
--- a/libdbusmenu-glib/client.c
+++ b/libdbusmenu-glib/client.c
@@ -776,10 +776,6 @@ parse_layout (DbusmenuClient * client, const gchar * layout)
g_debug("Client signaling root changed.");
#endif
- /* Switch the root around */
- g_object_ref(priv->root);
- dbusmenu_menuitem_set_root(priv->root, TRUE);
-
g_signal_emit(G_OBJECT(client), signals[ROOT_CHANGED], 0, priv->root, TRUE);
}