Refactor common code in dialog implementations
[pspp-builds.git] / src / ui / gui / helper.h
index ddced00fc3d61c15e72d85d31d087dc56e1413e1..25ff0aa00c4cdccd60268efca6321eb4c045f1f2 100644 (file)
 
 #include "relocatable.h"
 
-#include <data/value.h>
 #include <data/format.h>
+#include <data/value.h>
 
 #include <gtk/gtk.h>
 #include <glade/glade.h>
 
 
+
+void paste_syntax_in_new_window (const gchar *syntax);
+
 /*
    GtkRecentChooserMenu was added in 2.10.0
    but it didn't support GtkRecentFilters until
@@ -34,6 +37,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 */
@@ -56,7 +60,6 @@ void reference_manual (GtkMenuItem *, gpointer);
 struct getl_interface;
 gboolean execute_syntax (struct getl_interface *sss);
 
-
 #define XML_NEW(FILE) \
    glade_xml_new (relocate(PKGDATADIR "/" FILE), NULL, NULL)
 
@@ -69,4 +72,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