From a52f4ea9d88394aca3992f4c9ca8093d7f07993f Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 9 Feb 2010 15:26:06 -0600 Subject: Fixing build --- tests/test-glib-proxy-server.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tests/test-glib-proxy-server.c') diff --git a/tests/test-glib-proxy-server.c b/tests/test-glib-proxy-server.c index 2869bfe..4458acf 100644 --- a/tests/test-glib-proxy-server.c +++ b/tests/test-glib-proxy-server.c @@ -24,11 +24,12 @@ with this program. If not, see . #include #include #include +#include #include #include -#include "test-glib-properties.h" +#include "test-glib-proxy.h" static void set_props (DbusmenuMenuitem * mi, gchar ** props) @@ -91,7 +92,10 @@ main (int argc, char ** argv) { g_type_init(); - g_debug("DBus ID: %s", dbus_connection_get_server_id(dbus_g_connection_get_connection(dbus_g_bus_get(DBUS_BUS_SESSION, NULL)))); + GError * error = NULL; + DBusGConnection * connection = dbus_g_bus_get(DBUS_BUS_SESSION, NULL); + + g_debug("DBus ID: %s", dbus_connection_get_server_id(dbus_g_connection_get_connection(connection))); DBusGProxy * bus_proxy = dbus_g_proxy_new_for_name(connection, DBUS_SERVICE_DBUS, DBUS_PATH_DBUS, DBUS_INTERFACE_DBUS); guint nameret = 0; -- cgit v1.2.3