[Spice-devel] [PATCH spice-gtk v2 4/9] docs: Add Version Information section

Pavel Grunt pgrunt at redhat.com
Thu Sep 24 09:33:50 PDT 2015


---
v2: no change
---
 doc/reference/spice-gtk-docs.xml     |  1 +
 doc/reference/spice-gtk-sections.txt | 12 ++++++++----
 src/spice-version.h.in               |  2 ++
 3 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/doc/reference/spice-gtk-docs.xml b/doc/reference/spice-gtk-docs.xml
index 5faea74..de68004 100644
--- a/doc/reference/spice-gtk-docs.xml
+++ b/doc/reference/spice-gtk-docs.xml
@@ -53,6 +53,7 @@
       <xi:include href="xml/smartcard-manager.xml"/>
       <xi:include href="xml/usb-device-manager.xml"/>
       <xi:include href="xml/spice-util.xml"/>
+      <xi:include href="xml/spice-version.xml"/>
       <xi:include href="xml/spice-uri.xml"/>
     </chapter>
 
diff --git a/doc/reference/spice-gtk-sections.txt b/doc/reference/spice-gtk-sections.txt
index a12183a..d8b835e 100644
--- a/doc/reference/spice-gtk-sections.txt
+++ b/doc/reference/spice-gtk-sections.txt
@@ -415,10 +415,6 @@ SpiceGtkBoxClass
 spice_util_set_debug
 spice_util_get_version_string
 spice_uuid_to_string
-SPICE_GTK_CHECK_VERSION
-SPICE_GTK_MAJOR_VERSION
-SPICE_GTK_MICRO_VERSION
-SPICE_GTK_MINOR_VERSION
 <SUBSECTION Private>
 SPICE_DEBUG
 spice_util_get_debug
@@ -428,6 +424,14 @@ spice_g_signal_connect_object
 </SECTION>
 
 <SECTION>
+<FILE>spice-version</FILE>
+SPICE_GTK_CHECK_VERSION
+SPICE_GTK_MAJOR_VERSION
+SPICE_GTK_MICRO_VERSION
+SPICE_GTK_MINOR_VERSION
+</SECTION>
+
+<SECTION>
 <FILE>channel-port</FILE>
 <TITLE>SpicePortChannel</TITLE>
 SpicePortChannel
diff --git a/src/spice-version.h.in b/src/spice-version.h.in
index 4276a23..49164f8 100644
--- a/src/spice-version.h.in
+++ b/src/spice-version.h.in
@@ -21,6 +21,8 @@
 /**
  * SECTION:spice-version
  * @short_description: Spice-Gtk version checking
+ * @title: Version Information
+ * @include: spice-version.h
  *
  * Spice-Gtk provides macros to check the version of the library
  * at compile-time
-- 
2.5.0



More information about the Spice-devel mailing list