From 8630ce1c8e41a45ba83d8f49b517095ed25617d5 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 19 Feb 2010 13:49:53 -0600 Subject: Starting in the right place --- tests/test-glib-proxy-client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test-glib-proxy-client.c') diff --git a/tests/test-glib-proxy-client.c b/tests/test-glib-proxy-client.c index 4a24172..fc3eac6 100644 --- a/tests/test-glib-proxy-client.c +++ b/tests/test-glib-proxy-client.c @@ -26,7 +26,7 @@ with this program. If not, see . #include "test-glib-proxy.h" -static guint layouton = -1; +static guint layouton = -2; static GMainLoop * mainloop = NULL; static gboolean passed = TRUE; static guint death_timer = 0; @@ -119,7 +119,7 @@ layout_updated (DbusmenuClient * client, gpointer data) return; } layouton++; - if (layouton != 0) { + if (layouton != -1) { g_timeout_add (1500, layout_verify_timer, client); } else { DbusmenuMenuitem * mi = dbusmenu_client_get_root(client); -- cgit v1.2.3