summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSeth Nickell <seth@gnome.org>2003-09-22 05:45:59 +0000
committerSeth Nickell <seth@gnome.org>2003-09-22 05:45:59 +0000
commitf4cffc0e49d48a8dbf158230d7e816d8713566da (patch)
treed22625c371ad3fa2eae127c0a825bd5b26652c61 /test
parentc9332907b035b52103c5569119d0a7c9fbcb76ac (diff)
2003-09-21 Seth Nickell <seth@gnome.org>
First checkin of the Python bindings. * python/.cvsignore: * python/Makefile.am: * python/dbus_bindings.pyx.in: * python/dbus_h_wrapper.h: Pieces for Pyrex to operate on, building a dbus_bindings.so python module for low-level access to the DBus APIs. * python/dbus.py: High-level Python module for accessing DBus objects. * configure.in: * Makefile.am: Build stuff for the python bindings. * acinclude.m4: Extra macro needed for finding the Python C header files.
Diffstat (limited to 'test')
-rw-r--r--test/test-service.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test-service.c b/test/test-service.c
index f22b1753..d07575e2 100644
--- a/test/test-service.c
+++ b/test/test-service.c
@@ -106,7 +106,7 @@ main (int argc,
int result;
dbus_error_init (&error);
- connection = dbus_bus_get (DBUS_BUS_ACTIVATION, &error);
+ connection = dbus_bus_get (DBUS_BUS_SESSION, &error);
if (connection == NULL)
{
_dbus_verbose ("*** Failed to open connection to activating message bus: %s\n",
@@ -126,10 +126,13 @@ main (int argc,
filter_func, NULL, NULL))
die ("No memory");
+ printf ("Acquiring service\n");
+
result = dbus_bus_acquire_service (connection, "org.freedesktop.DBus.TestSuiteEchoService",
0, &error);
if (dbus_error_is_set (&error))
{
+ printf ("Error %s", error.message);
_dbus_verbose ("*** Failed to acquire service: %s\n",
error.message);
dbus_error_free (&error);