[Xfce4-commits] <xfce4-panel:master> Add LIBXFCE4PANEL_VERSION.
Nick Schermer
noreply at xfce.org
Mon May 24 11:46:03 CEST 2010
Updating branch refs/heads/master
to 53810134a132de3764374130e2df131c7521975e (commit)
from 2dcc38ba30e1b0e82506884b069ab42a44e58346 (commit)
commit 53810134a132de3764374130e2df131c7521975e
Author: Nick Schermer <nick at xfce.org>
Date: Mon May 24 11:32:11 2010 +0200
Add LIBXFCE4PANEL_VERSION.
String with compile version of the panel. This will be used
for external plugin debugging to print the full version
of the panel the plugin is compiled against.
configure.ac.in | 2 ++
docs/references/libxfce4panel-sections.txt | 1 +
libxfce4panel/libxfce4panel-config.h.in | 9 +++++++++
3 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/configure.ac.in b/configure.ac.in
index a22355b..df392fe 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -75,10 +75,12 @@ AC_SUBST([LIBXFCE4PANEL_VERINFO])
dnl **************************
dnl *** Substitute version ***
dnl **************************
+LIBXFCE4PANEL_VERSION=xfce4_panel_version()
LIBXFCE4PANEL_VERSION_API=libxfce4panel_version_api()
LIBXFCE4PANEL_VERSION_MAJOR=xfce4_panel_version_major()
LIBXFCE4PANEL_VERSION_MINOR=xfce4_panel_version_minor()
LIBXFCE4PANEL_VERSION_MICRO=xfce4_panel_version_micro()
+AC_SUBST([LIBXFCE4PANEL_VERSION])
AC_SUBST([LIBXFCE4PANEL_VERSION_API])
AC_SUBST([LIBXFCE4PANEL_VERSION_MAJOR])
AC_SUBST([LIBXFCE4PANEL_VERSION_MINOR])
diff --git a/docs/references/libxfce4panel-sections.txt b/docs/references/libxfce4panel-sections.txt
index eeba044..1305e62 100644
--- a/docs/references/libxfce4panel-sections.txt
+++ b/docs/references/libxfce4panel-sections.txt
@@ -5,6 +5,7 @@ libxfce4panel_minor_version
libxfce4panel_micro_version
libxfce4panel_check_version
<SUBSECTION>
+LIBXFCE4PANEL_VERSION
LIBXFCE4PANEL_MAJOR_VERSION
LIBXFCE4PANEL_MINOR_VERSION
LIBXFCE4PANEL_MICRO_VERSION
diff --git a/libxfce4panel/libxfce4panel-config.h.in b/libxfce4panel/libxfce4panel-config.h.in
index f12622a..e7cc5d5 100644
--- a/libxfce4panel/libxfce4panel-config.h.in
+++ b/libxfce4panel/libxfce4panel-config.h.in
@@ -28,6 +28,15 @@
G_BEGIN_DECLS
/**
+ * LIBXFCE4PANEL_VERSION:
+ *
+ * String with the full version of the panel.
+ *
+ * Since: 4.8
+ **/
+#define LIBXFCE4PANEL_VERSION ("@LIBXFCE4PANEL_VERSION@")
+
+/**
* LIBXFCE4PANEL_MAJOR_VERSION:
*
* The major version number of the libxfce4panel library.
More information about the Xfce4-commits
mailing list