aboutsummaryrefslogtreecommitdiff
path: root/tests/test-glib-layout-client.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-25 16:57:16 -0500
committerTed Gould <ted@canonical.com>2009-06-25 16:57:16 -0500
commita29210f13a5eeb096985e00583303fde8249eee7 (patch)
tree00e340ea2680a87ca1ab173fb35ff3f4b5e534fd /tests/test-glib-layout-client.c
parent026f38b57f213644c101b1c0166adf0d5995a245 (diff)
downloadlibdbusmenu-a29210f13a5eeb096985e00583303fde8249eee7.tar.gz
libdbusmenu-a29210f13a5eeb096985e00583303fde8249eee7.tar.bz2
libdbusmenu-a29210f13a5eeb096985e00583303fde8249eee7.zip
For some reason the kill switch was missing on this one. Weird.
Diffstat (limited to 'tests/test-glib-layout-client.c')
-rw-r--r--tests/test-glib-layout-client.c4
1 files changed, 4 insertions, 0 deletions
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;
}