Top |
#define | LIBXFCE4WINDOWING_CHECK_VERSION() |
const gchar * | libxfce4windowing_check_version () |
#define | LIBXFCE4WINDOWING_HAS_X11 |
#define | LIBXFCE4WINDOWING_HAS_WAYLAND |
#define | LIBXFCE4WINDOWING_MAJOR_VERSION |
#define | LIBXFCE4WINDOWING_MINOR_VERSION |
#define | LIBXFCE4WINDOWING_MICRO_VERSION |
extern const guint | libxfce4windowing_major_version |
extern const guint | libxfce4windowing_micro_version |
extern const guint | libxfce4windowing_minor_version |
#define LIBXFCE4WINDOWING_CHECK_VERSION(major, minor, micro)
A macro to compare libxfce4windowing versions to determine if a particular function is available.
const gchar * libxfce4windowing_check_version (guint required_major
,guint required_minor
,guint required_micro
);
Checks that the libxfce4windowing library in use is compatible with the given version. Generally you would pass in the constants LIBXFCE4WINDOWING_MAJOR_VERSION, LIBXFCE4WINDOWING_MINOR_VERSION and LIBXFCE4WINDOWING_MICRO_VERSION as the three arguments to this function; that produces a check that the library in use is compatible with the version of libxfce4windowing the extension was compiled against.
1 2 3 4 5 6 7 |
const gchar *mismatch; mismatch = libxfce4windowing_check_version(LIBXFCE4WINDOWING_MAJOR_VERSION, LIBXFCE4WINDOWING_MINOR_VERSION, LIBXFCE4WINDOWING_MICRO_VERSION); if (G_UNLIKELY(mismatch != NULL)) { g_error("Version mismatch: %s", mismatch); } |
#define LIBXFCE4WINDOWING_HAS_X11
A macro that is defined if libxfce4windowing was compiled with X11 support.
Since: 4.19.3
#define LIBXFCE4WINDOWING_HAS_WAYLAND
A macro that is defined if libxfce4windowing was compiled with Wayland support.
Since: 4.19.3
#define LIBXFCE4WINDOWING_MAJOR_VERSION (4)
A macro that evaluates to the major version of libxfce4windowing, in a format that can be used by the C pre-processor.
#define LIBXFCE4WINDOWING_MINOR_VERSION (20)
A macro that evaluates to the minor version of libxfce4windowing, in a format that can be used by the C pre-processor.
#define LIBXFCE4WINDOWING_MICRO_VERSION (0)
A macro that evaluates to the micro version of libxfce4windowing, in a format that can be used by the C pre-processor.
extern const guint libxfce4windowing_major_version;
A constat that evaluates to the major version of libxfce4windowing.
extern const guint libxfce4windowing_micro_version;
A constat that evaluates to the micro version of libxfce4windowing.