Refactor Data and Syntax Loading
[pspp-builds.git] / src / ui / gui / psppire-syntax-window.h
index 18946413c2b957cd461db9f4053b6884481ecee8..c863a92f1a24e335439c43721a2c0c11da215ace 100644 (file)
@@ -18,7 +18,6 @@
 #ifndef __PSPPIRE_SYNTAX_WINDOW_H__
 #define __PSPPIRE_SYNTAX_WINDOW_H__
 
-
 #include <glib.h>
 #include <glib-object.h>
 #include <gtk/gtkaction.h>
@@ -50,6 +49,8 @@ struct _PsppireSyntaxWindow
 
   GtkTextBuffer *buffer;  /* The buffer which contains the text */
   struct lexer *lexer;    /* Lexer to parse syntax */
+  GtkWidget *sb;
+  guint text_context;
 };
 
 struct _PsppireSyntaxWindowClass
@@ -61,10 +62,6 @@ struct _PsppireSyntaxWindowClass
 GType      psppire_syntax_window_get_type        (void);
 GtkWidget* psppire_syntax_window_new             (void);
 
-gboolean   psppire_syntax_window_load_from_file (PsppireSyntaxWindow *se,
-                                                       const gchar *filename,
-                                                       GError **err);
-
 void open_syntax_window (GtkMenuItem *menuitem, gpointer parent);
 void create_syntax_window (void);