From 39ba33c8902b87bd42bf764bf3fb7d7385034ad4 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 26 Jun 2009 13:40:04 -0500 Subject: 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. --- libdbusmenu-gtk/menu.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libdbusmenu-gtk/menu.c') 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; -- cgit v1.2.3