aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-19 13:49:53 -0600
committerTed Gould <ted@gould.cx>2010-02-19 13:49:53 -0600
commit8630ce1c8e41a45ba83d8f49b517095ed25617d5 (patch)
treec66571624895e9eefabe143f51c3d28d325b5991 /tests
parent0df9435e0859a16e5b36d6964bcd38ca470bed5e (diff)
downloadlibdbusmenu-8630ce1c8e41a45ba83d8f49b517095ed25617d5.tar.gz
libdbusmenu-8630ce1c8e41a45ba83d8f49b517095ed25617d5.tar.bz2
libdbusmenu-8630ce1c8e41a45ba83d8f49b517095ed25617d5.zip
Starting in the right place
Diffstat (limited to 'tests')
-rw-r--r--tests/test-glib-proxy-client.c4
1 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>.
#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);