aboutsummaryrefslogtreecommitdiff
path: root/tests/test-glib-simple-items.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-06-20 15:44:36 +0000
committerTarmac <Unknown>2013-06-20 15:44:36 +0000
commite8778d504b94e4ced9edb1f18dbae14c2e4c5387 (patch)
tree4b20999b080df3d79f73033b6ec82745a5f718cf /tests/test-glib-simple-items.c
parentfe87e9ce239632185946c47e41d117a571de5fb8 (diff)
parent0e81d534211cd7e0b5cbff8f3d4211705d7c6a63 (diff)
downloadlibdbusmenu-e8778d504b94e4ced9edb1f18dbae14c2e4c5387.tar.gz
libdbusmenu-e8778d504b94e4ced9edb1f18dbae14c2e4c5387.tar.bz2
libdbusmenu-e8778d504b94e4ced9edb1f18dbae14c2e4c5387.zip
Fix a bug caused by keeping signals connected to menuitems that we're not using anymore. Fixes: https://bugs.launchpad.net/bugs/1154701.
Approved by PS Jenkins bot, Ted Gould.
Diffstat (limited to 'tests/test-glib-simple-items.c')
-rw-r--r--tests/test-glib-simple-items.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-glib-simple-items.c b/tests/test-glib-simple-items.c
index 1fff8bf..f4086a4 100644
--- a/tests/test-glib-simple-items.c
+++ b/tests/test-glib-simple-items.c
@@ -25,7 +25,7 @@ dummy_users (DbusmenuMenuitem * root) {
static gboolean
quititall (gpointer data)
{
- g_main_quit(mainloop);
+ g_main_loop_quit(mainloop);
return FALSE;
}