aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-06-18 16:53:18 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-06-18 16:53:18 -0500
commit4dd5840b57b92fe70226a022c1933c3413ac3766 (patch)
tree45944e550896b256f13fb311765fd931f05b1452
parent54fd03c702247158b4c238a4f1e59d80fd6a5145 (diff)
downloadlibdbusmenu-4dd5840b57b92fe70226a022c1933c3413ac3766.tar.gz
libdbusmenu-4dd5840b57b92fe70226a022c1933c3413ac3766.tar.bz2
libdbusmenu-4dd5840b57b92fe70226a022c1933c3413ac3766.zip
in tests/, replace deprecated API call g_main_quit() with g_main_loop_quit()
-rw-r--r--tests/test-glib-simple-items.c2
-rw-r--r--tests/test-gtk-reorder-server.c2
2 files changed, 2 insertions, 2 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;
}
diff --git a/tests/test-gtk-reorder-server.c b/tests/test-gtk-reorder-server.c
index d0fba82..560820e 100644
--- a/tests/test-gtk-reorder-server.c
+++ b/tests/test-gtk-reorder-server.c
@@ -52,7 +52,7 @@ static gboolean
timer_func (gpointer data)
{
if (test == NUMBER_TESTS) {
- g_main_quit(mainloop);
+ g_main_loop_quit(mainloop);
return FALSE;
}