From: RISKÓ Gergely Date: Mon, 14 Sep 2009 14:52:43 +0000 (+0300) Subject: Add introspection interface to the output of introspection calls X-Git-Tag: 2.0_alpha~3240 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8babfd4424c8630553cefbb5f8521dcdb5e37bb4;p=framework%2Fconnectivity%2Fconnman.git Add introspection interface to the output of introspection calls This provides better compatibility with some D-Bus clients, such as qdbus. --- diff --git a/gdbus/object.c b/gdbus/object.c index 3186921..811c2e1 100644 --- a/gdbus/object.c +++ b/gdbus/object.c @@ -155,7 +155,13 @@ static void generate_introspection_xml(DBusConnection *conn, gstr = g_string_new(DBUS_INTROSPECT_1_0_XML_DOCTYPE_DECL_NODE); - g_string_append_printf(gstr, "\n", path); + g_string_append_printf(gstr, + "\n" + "\t\n" + "\t\t\n" + "\t\t\t\n" + "\t\t\n" + "\t\n", path); for (list = data->interfaces; list; list = list->next) { struct interface_data *iface = list->data;