summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Grunt <pgrunt@redhat.com>2015-09-22 11:27:25 +0200
committerPavel Grunt <pgrunt@redhat.com>2015-09-25 13:39:12 +0200
commit0795754fdce6e3ecd48fb34443218e52ee982043 (patch)
treef28d27ab57251ae06daac4824371d299ff1c2410
parentd732f13ae6cdbbee42181596d9e1ba8d47f65fb3 (diff)
downloadspice-gtk-0795754fdce6e3ecd48fb34443218e52ee982043.tar.gz
spice-gtk-0795754fdce6e3ecd48fb34443218e52ee982043.tar.xz
spice-gtk-0795754fdce6e3ecd48fb34443218e52ee982043.zip
docs: Add Version Information section
-rw-r--r--doc/reference/spice-gtk-docs.xml1
-rw-r--r--doc/reference/spice-gtk-sections.txt12
-rw-r--r--src/spice-version.h.in2
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