summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
-rw-r--r--mate-about/mate-about.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c71eb46..7a2891a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -73,6 +73,12 @@ if test "x$enable_deprecation_flags" = "xyes"; then
AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
fi
+# 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])
+
# Should we build mate-about? Useful for people who need to build
# two mate-desktop using two different versions of GTK+
AC_ARG_ENABLE([mate-about],
diff --git a/mate-about/mate-about.h b/mate-about/mate-about.h
index a06cad9..f4ecba0 100644
--- a/mate-about/mate-about.h
+++ b/mate-about/mate-about.h
@@ -21,10 +21,10 @@
#ifndef __MATE_ABOUT_H__
#define __MATE_ABOUT_H__
+#include <config.h> // autogenerated by ./configure
#include <gtk/gtk.h>
#include <libintl.h> // for gettext
#include <glib/gi18n.h>
-#include <config.h> // autogenerated by ./configure
#include <libmate-desktop/mate-aboutdialog.h>