Browse Source

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.
upstream/xfce4-panel-4.10.1
Nick Schermer 12 years ago
parent
commit
53810134a1
  1. 2
      configure.ac.in
  2. 1
      docs/references/libxfce4panel-sections.txt
  3. 9
      libxfce4panel/libxfce4panel-config.h.in

2
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])

1
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

9
libxfce4panel/libxfce4panel-config.h.in

@ -27,6 +27,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:
*

Loading…
Cancel
Save