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=f6c084d48e8373d12366b24455f45267daacd89b;hpb=8f04b0ced35a66cfdebefbcb53c81979add36ca3;p=pspp-builds.git diff --git a/src/ui/gui/helper.h b/src/ui/gui/helper.h index f6c084d4..223b6134 100644 --- a/src/ui/gui/helper.h +++ b/src/ui/gui/helper.h @@ -37,9 +37,11 @@ struct fmt_spec; gchar * value_to_text (union value v, const PsppireDict *dict, struct fmt_spec format); -gboolean text_to_value (const gchar *text, union value *v, - const PsppireDict *dict, - 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); @@ -60,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