aboutsummaryrefslogtreecommitdiff
path: root/tests/test-glib-proxy-client.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-12 21:43:28 -0600
committerTed Gould <ted@gould.cx>2010-02-12 21:43:28 -0600
commitfa7cb0d330eff5c22def277b1382d1328ffc40c2 (patch)
tree780eb7ecb0ab2bf132dd338bd6f9d31a4af736c8 /tests/test-glib-proxy-client.c
parentd4a35054867dfcb78c4ced2df7a63f34242f21c1 (diff)
downloadlibdbusmenu-fa7cb0d330eff5c22def277b1382d1328ffc40c2.tar.gz
libdbusmenu-fa7cb0d330eff5c22def277b1382d1328ffc40c2.tar.bz2
libdbusmenu-fa7cb0d330eff5c22def277b1382d1328ffc40c2.zip
Ignoring Layout changes when they don't relate to having one.
Diffstat (limited to 'tests/test-glib-proxy-client.c')
-rw-r--r--tests/test-glib-proxy-client.c4
1 files changed, 4 insertions, 0 deletions
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;