include format.h only where necessary.
[pspp-builds.git] / src / ui / gui / helper.h
index 7ada5b5298fe5bdb660a52995f3a7e4830aa5a76..3b9f03703ea7c85b367b057f47fa63757f4dc218 100644 (file)
 #include "relocatable.h"
 
 #include <data/value.h>
-#include <data/format.h>
 
 #include <gtk/gtk.h>
 #include <glade/glade.h>
 
-
 /*
    GtkRecentChooserMenu was added in 2.10.0
    but it didn't support GtkRecentFilters until
@@ -34,6 +32,7 @@
 */
 #define RECENT_LISTS_AVAILABLE GTK_CHECK_VERSION (2, 10, 2)
 
+struct fmt_spec;
 
 /* Formats a value according to FORMAT
    The returned string must be freed when no longer required */
@@ -54,8 +53,7 @@ void connect_help (GladeXML *);
 void reference_manual (GtkMenuItem *, gpointer);
 
 struct getl_interface;
-void execute_syntax (struct getl_interface *sss);
-
+gboolean execute_syntax (struct getl_interface *sss);
 
 #define XML_NEW(FILE) \
    glade_xml_new (relocate(PKGDATADIR "/" FILE), NULL, NULL)
@@ -69,4 +67,8 @@ void marshaller_VOID__INT_INT_INT (GClosure     *closure,
                                   gpointer      marshal_data);
 
 
+/* Create a deep copy of SRC */
+GtkListStore * clone_list_store (const GtkListStore *src);
+
+
 #endif