X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fhelper.h;h=223b613447e2af5876dc463be4ca7b166c0e9232;hb=9529d1a99cc7c288d94e5bbdb9f4263bd524da6c;hp=6706df20701e39bd9705ffbe17c6579e2c587966;hpb=83df73bacd2cd3abd177e6a8ac1b76b072255025;p=pspp-builds.git diff --git a/src/ui/gui/helper.h b/src/ui/gui/helper.h index 6706df20..223b6134 100644 --- a/src/ui/gui/helper.h +++ b/src/ui/gui/helper.h @@ -34,11 +34,14 @@ struct fmt_spec; /* Formats a value according to FORMAT The returned string must be freed when no longer required */ -gchar * value_to_text (union value v, PsppireDict *dict, struct fmt_spec format); +gchar * value_to_text (union value v, const PsppireDict *dict, struct fmt_spec format); -gboolean text_to_value (const gchar *text, union value *v, - struct fmt_spec format); +union value * +text_to_value (const gchar *text, + const PsppireDict *dict, + 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); @@ -59,5 +62,7 @@ GtkBuilder *builder_new_real (const gchar *name); /* Create a deep copy of SRC */ GtkListStore * clone_list_store (const GtkListStore *src); +void psppire_box_pack_start_defaults (GtkBox *box, GtkWidget *widget); + #endif