Force -DGTK_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE in GTK_CFLAGS.
authorAndrej Kacian <ticho@claws-mail.org>
Tue, 6 Feb 2018 21:53:31 +0000 (22:53 +0100)
committerAndrej Kacian <ticho@claws-mail.org>
Tue, 6 Feb 2018 21:53:31 +0000 (22:53 +0100)
configure.ac

index 03f8718..ba7e489 100644 (file)
@@ -578,6 +578,10 @@ fi
 AC_ARG_ENABLE(deprecated,
                [  --disable-deprecated            Disable deprecated GTK functions],
                [GTK_CFLAGS="$GTK_CFLAGS -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"], [])
+
+dnl Make sure the code does not regress to using deprecated GTK stuff...
+GTK_CFLAGS="$GTK_CFLAGS -DGTK_DISABLE_SINGLE_INCLUDES -DGSEAL_ENABLE"
+
 AC_SUBST(GTK_CFLAGS)
 AC_SUBST(GTK_LIBS)