diff options
author | Ken VanDine <ken.vandine@canonical.com> | 2009-10-05 01:38:17 -0400 |
---|---|---|
committer | Ken VanDine <ken.vandine@canonical.com> | 2009-10-05 01:38:17 -0400 |
commit | 2161c05f527d0d8e36410628214a7d920de66044 (patch) | |
tree | 3199325d538b75b07a0083f043573bd0de92a811 /tests/test-glib-simple-items.c | |
parent | 29a1c8d0b290c9d131f9f22418d93066953b3460 (diff) | |
parent | 3f51b2b3f1550026d7b0af2dbbe007af6e89e302 (diff) | |
download | libdbusmenu-2161c05f527d0d8e36410628214a7d920de66044.tar.gz libdbusmenu-2161c05f527d0d8e36410628214a7d920de66044.tar.bz2 libdbusmenu-2161c05f527d0d8e36410628214a7d920de66044.zip |
* Upstream release 0.1.6 (LP: #442822)
* Managing the life-cycle of the GTK Menu item better to
ensure that it is positioned correctly and dies
appropriately. (LP: #430904) and (LP: #419953)
* Checking returned properties to ensure that there wasn't
DBus errors. (LP: #433719)
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); |