From a29210f13a5eeb096985e00583303fde8249eee7 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 25 Jun 2009 16:57:16 -0500 Subject: For some reason the kill switch was missing on this one. Weird. --- tests/test-glib-layout-client.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/test-glib-layout-client.c') diff --git a/tests/test-glib-layout-client.c b/tests/test-glib-layout-client.c index 7a53443..1b74544 100644 --- a/tests/test-glib-layout-client.c +++ b/tests/test-glib-layout-client.c @@ -88,6 +88,10 @@ layout_updated (DbusmenuClient * client, gpointer data) layouton++; + if (layouts[layouton].id == 0) { + g_main_loop_quit(mainloop); + } + return; } -- cgit v1.2.3