From af582ad4697437ea7eb76889f2242e3928d06ead Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Tue, 11 Jan 2011 17:32:32 -0600 Subject: port to gdbus --- tests/test-approver.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'tests') diff --git a/tests/test-approver.c b/tests/test-approver.c index adad4a7..47fb97d 100644 --- a/tests/test-approver.c +++ b/tests/test-approver.c @@ -1,8 +1,6 @@ #include #include -#include - #include "notification-watcher-client.h" #include "dbus-shared.h" #include "libappindicator/app-indicator.h" @@ -37,11 +35,9 @@ static void test_approver_class_init (TestApproverClass *klass); static void test_approver_init (TestApprover *self); static gboolean _notification_approver_server_approve_item (TestApprover * ta, const gchar * id, const gchar * category, guint pid, const gchar * address, const gchar * path, gboolean * approved, GError ** error); -#include "../src/notification-approver-server.h" - GMainLoop * main_loop = NULL; -DBusGConnection * session_bus = NULL; -DBusGProxy * bus_proxy = NULL; +GDBusConnection * session_bus = NULL; +GDBusProxy * bus_proxy = NULL; AppIndicator * app_indicator = NULL; gboolean passed = FALSE; -- cgit v1.2.3