From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ 8/8] gdbus: Fix introspection data for deprecated properties
Date: Thu, 3 Jan 2013 21:46:11 +0200 [thread overview]
Message-ID: <1357242371-6752-8-git-send-email-luiz.dentz@gmail.com> (raw)
In-Reply-To: <1357242371-6752-1-git-send-email-luiz.dentz@gmail.com>
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
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
prev parent reply other threads:[~2013-01-03 19:46 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-03 19:46 [PATCH BlueZ 1/8] media-api: Add playback control methods to MediaPlayer1 Luiz Augusto von Dentz
2013-01-03 19:46 ` [PATCH BlueZ 2/8] player: Remove GetTrack and TrackChanged Luiz Augusto von Dentz
2013-01-03 19:46 ` [PATCH BlueZ 3/8] player: Add support for button controls Luiz Augusto von Dentz
2013-01-03 19:46 ` [PATCH BlueZ 4/8] player: Fix documentation to use TrackNumber in track metadata Luiz Augusto von Dentz
2013-01-03 19:46 ` [PATCH BlueZ 5/8] AVRCP: Always create a controller player even for version 1.0 Luiz Augusto von Dentz
2013-01-03 19:46 ` [PATCH BlueZ 6/8] control: Mark all members of MediaControl1 as deprecated Luiz Augusto von Dentz
2013-01-03 19:46 ` [PATCH BlueZ 7/8] player: Remove experimental flag from MediaPlayer1 Luiz Augusto von Dentz
2013-01-03 19:46 ` Luiz Augusto von Dentz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1357242371-6752-8-git-send-email-luiz.dentz@gmail.com \
--to=luiz.dentz@gmail.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox