+#include "psppire-dict.h"
+
+#include "gl/configmake.h"
+
+gchar *paste_syntax_to_window (gchar *syntax);
+
+struct fmt_spec;
+
+/* Returns a new GParamSpec for a string. An attempt to store the empty string
+ in the parameter will be silently translated into storing a null pointer. */
+static inline GParamSpec *
+null_if_empty_param (const gchar *name, const gchar *nick,
+ const gchar *blurb, const gchar *default_value,
+ GParamFlags flags)
+{
+ GParamSpec *param;
+
+ param = g_param_spec_string (name, nick, blurb, default_value, flags);
+ ((GParamSpecString *) param)->null_fold_if_empty = TRUE;
+ return param;
+}
+
+
+gchar * value_to_text (union value v, const struct variable *);
+
+
+union value *
+text_to_value (const gchar *text,
+ const struct variable *var,
+ union value *);
+
+GObject *get_object_assert (GtkBuilder *builder, const gchar *name, GType type);
+GtkAction * get_action_assert (GtkBuilder *builder, const gchar *name);
+GtkWidget * get_widget_assert (GtkBuilder *builder, const gchar *name);
+
+gchar * convert_glib_filename_to_system_filename (const gchar *fname,
+ GError **err);
+
+void connect_help (GtkBuilder *);
+
+#define builder_new(NAME) builder_new_real (relocate (PKGDATADIR "/" NAME))