Take advantage of Gnulib configmake module.
[pspp-builds.git] / src / ui / gui / main.c
index 517d74affdafe7b7b903bb1d8057f593fa326bdd..7c952283a8128055a0b5da6fb3a5ca4887f6c921 100644 (file)
@@ -28,6 +28,7 @@
 #include "libpspp/copyleft.h"
 #include "ui/source-init-opts.h"
 
+#include "gl/configmake.h"
 #include "gl/progname.h"
 #include "gl/relocatable.h"
 #include "gl/xalloc.h"
@@ -168,7 +169,7 @@ main (int argc, char *argv[])
                                 GTK_MINOR_VERSION,
                                 GTK_MICRO_VERSION)) )
     {
-      g_warning (vers);
+      g_warning ("%s", vers);
     }
 
   /* Let GDK remove any options that it owns. */