diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-approver.c | 8 |
1 files changed, 2 insertions, 6 deletions
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 <glib.h> #include <glib-object.h> -#include <dbus/dbus-glib-bindings.h> - #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; |