Replaced the glade definition of about dialog with a C one.
[pspp-builds.git] / src / ui / gui / psppire-syntax-window.c
index e3aaa75681930af7c7b3009c225827dab95346ac..48a77fc03ec21a7fa3f9cfc4a3ddc6cceedb3c4f 100644 (file)
@@ -18,6 +18,7 @@
 
 #include <gtk/gtksignal.h>
 #include <gtk/gtkbox.h>
+#include "executor.h"
 #include "helper.h"
 
 #include <libpspp/message.h>
@@ -34,6 +35,8 @@
 #include "syntax-editor-source.h"
 #include <language/lexer/lexer.h>
 
+#include "xalloc.h"
+
 #include <gettext.h>
 #define _(msgid) gettext (msgid)
 #define N_(msgid) msgid
@@ -224,7 +227,7 @@ append_suffix (const gchar *filename)
       return g_strdup_printf ("%s.sps", filename);
     }
 
-  return strdup (filename);
+  return xstrdup (filename);
 }
 
 /*