diff options
author | Michael Terry <mike@mterry.name> | 2011-01-11 17:32:32 -0600 |
---|---|---|
committer | Michael Terry <mike@mterry.name> | 2011-01-11 17:32:32 -0600 |
commit | af582ad4697437ea7eb76889f2242e3928d06ead (patch) | |
tree | e91b723c9c2abf42ffb1bcbed7563fe6b44cca46 /tests | |
parent | 6c905a6e958d626df511ced154e9ed8fb867afc5 (diff) | |
download | ayatana-indicator-application-af582ad4697437ea7eb76889f2242e3928d06ead.tar.gz ayatana-indicator-application-af582ad4697437ea7eb76889f2242e3928d06ead.tar.bz2 ayatana-indicator-application-af582ad4697437ea7eb76889f2242e3928d06ead.zip |
port to gdbus
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; |