Change traverse signal to take GtkSheetCell instead of gint,gint
[pspp-builds.git] / src / ui / gui / syntax-editor-source.c
index 1cee28886c2e04bfa6d6ff48040b72d6f58bf305..f7617a893155faf03b786680c6e0c14114603b04 100644 (file)
@@ -18,7 +18,6 @@
 #include <config.h>
 
 #include <libpspp/getl.h>
-#include <libpspp/alloc.h>
 #include <libpspp/compiler.h>
 #include <libpspp/str.h>
 
@@ -29,6 +28,8 @@
 #include "syntax-editor-source.h"
 #include "syntax-editor.h"
 
+#include "xalloc.h"
+
 struct syntax_editor_source
   {
     struct getl_interface parent;
@@ -67,8 +68,7 @@ location (const struct getl_interface *i)
 
 static bool
 read_line_from_buffer (struct getl_interface *i,
-                      struct string *line,
-                      enum getl_syntax *syntax_rules)
+                      struct string *line)
 {
   gchar *text;
   GtkTextIter next_line;