summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
-rw-r--r--libcaja-extension/caja-extension-i18n.h4
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)