diff options
author | infirit <[email protected]> | 2015-09-06 16:42:08 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-09-06 16:42:08 +0200 |
commit | 3e9b28b2ebc9579bc868e2a8d1dc2d6f6b568c68 (patch) | |
tree | 3b5b531f41d8ebd832f4bafc46dbd1937b758366 | |
parent | fb2a59dcdc87be6abcd67acf4c4028c921b607ae (diff) | |
download | caja-3e9b28b2ebc9579bc868e2a8d1dc2d6f6b568c68.tar.bz2 caja-3e9b28b2ebc9579bc868e2a8d1dc2d6f6b568c68.tar.xz |
define max/min version of GLib
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | libcaja-extension/caja-extension-i18n.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 674cd379..a8f0b2c7 100644 --- a/configure.ac +++ b/configure.ac @@ -21,6 +21,12 @@ m4_define(caja_extension_revision, 0) AC_INIT([caja], [1.10.3], [http://www.mate-desktop.org]) +# GLib min/max required versions +AC_DEFINE([GLIB_VERSION_MAX_ALLOWED], [GLIB_VERSION_2_36], + [Warn on use of APIs added after GLib 2.36]) +AC_DEFINE([GLIB_VERSION_MIN_REQUIRED], [GLIB_VERSION_2_36], + [Warn on use of APIs deprecated before GLib 2.36]) + dnl --------------------------------------------------------------------------- dnl GTK library version dnl --------------------------------------------------------------------------- diff --git a/libcaja-extension/caja-extension-i18n.h b/libcaja-extension/caja-extension-i18n.h index 34e1b3e6..c4e802f1 100644 --- a/libcaja-extension/caja-extension-i18n.h +++ b/libcaja-extension/caja-extension-i18n.h @@ -1,8 +1,8 @@ +#include "config.h" + #ifndef CAJA_EXTENSION_I18N_H #define CAJA_EXTENSION_I18N_H -#include "config.h" - #ifdef ENABLE_NLS #include<libintl.h> #define _(String) dgettext(GETTEXT_PACKAGE,String) |