From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> Fix missing </property> when generating introspection xml of deprecated properties. --- gdbus/object.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gdbus/object.c b/gdbus/object.c index b9cb284..729557b 100644 --- a/gdbus/object.c +++ b/gdbus/object.c @@ -210,9 +210,12 @@ static void generate_interface_xml(GString *gstr, struct interface_data *iface) if (!deprecated) g_string_append_printf(gstr, "/>\n"); - else + else { g_string_append_printf(gstr, G_DBUS_ANNOTATE_DEPRECATED(">\n\t\t\t")); + + g_string_append_printf(gstr, "\t\t</property>\n"); + } } } -- 1.8.0.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html