aboutsummaryrefslogtreecommitdiff
path: root/libdbusmenu-gtk
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-26 13:40:04 -0500
committerTed Gould <ted@canonical.com>2009-06-26 13:40:04 -0500
commit39ba33c8902b87bd42bf764bf3fb7d7385034ad4 (patch)
treee9ee45c14af6ed39863fe654750e75f3f41ed508 /libdbusmenu-gtk
parenteea69ca7f7a48ff17a02adee6a2640663b9c0245 (diff)
downloadlibdbusmenu-39ba33c8902b87bd42bf764bf3fb7d7385034ad4.tar.gz
libdbusmenu-39ba33c8902b87bd42bf764bf3fb7d7385034ad4.tar.bz2
libdbusmenu-39ba33c8902b87bd42bf764bf3fb7d7385034ad4.zip
Wait for the signal about the root changing instead of forcing it here. It'll have to change from the beginning state that we just had it in. And since we're singled threaded ther was no way for it to change in those few lines of code.
Diffstat (limited to 'libdbusmenu-gtk')
-rw-r--r--libdbusmenu-gtk/menu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libdbusmenu-gtk/menu.c b/libdbusmenu-gtk/menu.c
index b54df7b..bc7458c 100644
--- a/libdbusmenu-gtk/menu.c
+++ b/libdbusmenu-gtk/menu.c
@@ -253,8 +253,6 @@ build_client (DbusmenuGtkMenu * self)
/* Register for layout changes, this should come after the
creation of the client pulls it from DBus */
g_signal_connect(G_OBJECT(priv->client), DBUSMENU_GTKCLIENT_SIGNAL_ROOT_CHANGED, G_CALLBACK(root_changed), self);
-
- root_changed(priv->client, dbusmenu_client_get_root(DBUSMENU_CLIENT(priv->client)), self);
}
return;