[glib/gdbus-codegen] gdbus-codegen: Mention that @since can be used
- From: David Zeuthen <davidz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/gdbus-codegen] gdbus-codegen: Mention that @since can be used
- Date: Tue, 12 Apr 2011 21:12:40 +0000 (UTC)
commit 6bf978f35e9688e48942bbb9b4f28187fae29f73
Author: David Zeuthen <davidz redhat com>
Date: Tue Apr 12 17:12:26 2011 -0400
gdbus-codegen: Mention that @since can be used
Signed-off-by: David Zeuthen <davidz redhat com>
docs/reference/gio/gdbus-codegen.xml | 13 +++++++++----
1 files changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/docs/reference/gio/gdbus-codegen.xml b/docs/reference/gio/gdbus-codegen.xml
index d41d6f0..4b81620 100644
--- a/docs/reference/gio/gdbus-codegen.xml
+++ b/docs/reference/gio/gdbus-codegen.xml
@@ -308,6 +308,7 @@ gdbus-codegen --c-namespace MyApp \
BarSignal:
@blah: The docs for blah parameter.
@boo: The docs for boo parameter.
+ @since: 2.30
The docs for the actual signal.
-->
@@ -322,13 +323,17 @@ gdbus-codegen --c-namespace MyApp \
]]></programlisting></informalexample>
</para>
<para>
- For the <literal>org.gtk.GDBus.DocString</literal> annotation (and
- inline comments), note that substrings of the form
+ Note that <literal>since</literal> can be used in any inline
+ documentation bit (e.g. for interfaces, methods, signals and
+ properties) to set the <literal>org.gtk.GDBus.Since</literal>
+ annotation. For the <literal>org.gtk.GDBus.DocString</literal>
+ annotation (and inline comments), note that substrings of the form
<literal>#net.Corp.Bar</literal>,
<literal>net.Corp.Bar.FooMethod()</literal>,
<literal>#net.Corp.Bar::BarSignal</literal> and
- <literal>#net.Corp.InlineDocs:BazProperty</literal> are all expanded
- to links to the respective interface, method, signal and property.
+ <literal>#net.Corp.InlineDocs:BazProperty</literal> are all
+ expanded to links to the respective interface, method, signal and
+ property.
</para>
</refsect1>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]