diff options
author | Ted Gould <ted@canonical.com> | 2009-10-01 10:21:18 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-10-01 10:21:18 -0500 |
commit | 7ffd9f39deaa7897fb3690aa142812640c7be0c8 (patch) | |
tree | 5fc6c484410c6409c88115320ad39c7a57a74074 /tests/test-glib-simple-items.c | |
parent | a49f4f63040677937007c411eddbf6533f9d1428 (diff) | |
parent | 2ea44010b225b32705ca21fe2a7cf491fc0c1f4f (diff) | |
download | libdbusmenu-7ffd9f39deaa7897fb3690aa142812640c7be0c8.tar.gz libdbusmenu-7ffd9f39deaa7897fb3690aa142812640c7be0c8.tar.bz2 libdbusmenu-7ffd9f39deaa7897fb3690aa142812640c7be0c8.zip |
Adding stuff, mostly debugging info
Diffstat (limited to 'tests/test-glib-simple-items.c')
-rw-r--r-- | tests/test-glib-simple-items.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test-glib-simple-items.c b/tests/test-glib-simple-items.c index 56536e9..5b9f538 100644 --- a/tests/test-glib-simple-items.c +++ b/tests/test-glib-simple-items.c @@ -25,6 +25,13 @@ dummy_users (DbusmenuMenuitem * root) { return; } +static gboolean +quititall (gpointer data) +{ + g_main_quit(mainloop); + return FALSE; +} + int main (int argc, char ** argv) { @@ -37,6 +44,8 @@ main (int argc, char ** argv) dummy_users(root_menuitem); + g_timeout_add_seconds(1, quititall, NULL); + mainloop = g_main_loop_new(NULL, FALSE); g_main_loop_run(mainloop); |