From 96f6740f2fbc16c7ee220d3d5abdc94e22da78f3 Mon Sep 17 00:00:00 2001 From: Olivier Andrieu Date: Sat, 5 Jun 2004 16:32:00 +0000 Subject: 2004-06-05 Olivier Andrieu * 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. --- test/test-service.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') 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); -- cgit