diff options
author | Olivier Andrieu <oliv__a@users.sourceforge.net> | 2004-06-05 16:32:00 +0000 |
---|---|---|
committer | Olivier Andrieu <oliv__a@users.sourceforge.net> | 2004-06-05 16:32:00 +0000 |
commit | 96f6740f2fbc16c7ee220d3d5abdc94e22da78f3 (patch) | |
tree | 6f7bb5afb73db345ab173311f0c919df5695b346 /test/test-service.c | |
parent | 63de4681299428db8be68bab64b969e0c1229273 (diff) |
2004-06-05 Olivier Andrieu <oliv__a@users.sourceforge.net>
* dbus/dbus-connection.h, dbus/dbus-connection.c: have object path
registration functions take the path argument as char* instead of
char**.
* dbus/dbus-marshal.h, dbus/dbus-marshal.c (_dbus_decompose_path):
split off the path decompostion part of
_dbus_demarshal_object_path. Some misc. fixes to silence compiler
warnings.
* glib/dbus-gobject.c, test/test-service.c: update accordingly.
Diffstat (limited to 'test/test-service.c')
-rw-r--r-- | test/test-service.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test-service.c b/test/test-service.c index 7ee61ad6..f8f8b92a 100644 --- a/test/test-service.c +++ b/test/test-service.c @@ -134,8 +134,8 @@ echo_vtable = { NULL, }; -/* Pre-exploded path, "/org/freedesktop/TestSuite" */ -static const char* echo_path[] = { "org", "freedesktop", "TestSuite", NULL }; + +static const char* echo_path = "/org/freedesktop/TestSuite" ; static DBusHandlerResult filter_func (DBusConnection *connection, @@ -195,7 +195,7 @@ main (int argc, 0, &error); if (dbus_error_is_set (&error)) { - fprintf (stderr, "Error %s", error.message); + fprintf (stderr, "Error %s\n", error.message); _dbus_verbose ("*** Failed to acquire service: %s\n", error.message); dbus_error_free (&error); |