From fa7cb0d330eff5c22def277b1382d1328ffc40c2 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 12 Feb 2010 21:43:28 -0600 Subject: Ignoring Layout changes when they don't relate to having one. --- tests/test-glib-proxy-client.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/test-glib-proxy-client.c b/tests/test-glib-proxy-client.c index b37cd61..50ad5d3 100644 --- a/tests/test-glib-proxy-client.c +++ b/tests/test-glib-proxy-client.c @@ -114,6 +114,10 @@ static void layout_updated (DbusmenuClient * client, gpointer data) { g_debug("Layout Updated"); + if (dbusmenu_client_get_root(client) == NULL) { + g_debug("\tIgnored, no root"); + return; + } layouton++; g_timeout_add (1500, layout_verify_timer, client); return; -- cgit v1.2.3