X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fhelper.h;h=c1d93a8c033dbc5db277a74e9a109251a2bbd654;hb=685be7e2f49916d06005ba8588dcf9d0be896aac;hp=25b9d50a0cb6b52f1dc9557f77d4cdd62e3ca004;hpb=d46430e7458fcd65dfdf7928f52f2d06fa60127d;p=pspp diff --git a/src/ui/gui/helper.h b/src/ui/gui/helper.h index 25b9d50a0c..c1d93a8c03 100644 --- a/src/ui/gui/helper.h +++ b/src/ui/gui/helper.h @@ -44,25 +44,26 @@ null_if_empty_param (const gchar *name, const gchar *nick, return param; } - gchar * value_to_text (union value v, const struct variable *); +gchar * value_to_text__ (union value v, const struct fmt_spec *, + const char *encoding); -union value * -text_to_value (const gchar *text, - const struct variable *var, - union value *); - -gchar * convert_glib_filename_to_system_filename (const gchar *fname, - GError **err); - -void connect_help (GtkBuilder *); - +union value *text_to_value (const gchar *text, const struct variable *, + union value *); +union value *text_to_value__ (const gchar *text, const struct fmt_spec *, + const gchar *encoding, union value *); /* Create a deep copy of SRC */ GtkListStore * clone_list_store (const GtkListStore *src); -void psppire_box_pack_start_defaults (GtkBox *box, GtkWidget *widget); - +/* gtk_box_pack_start_defaults is deprecated. + Therefore we roll our own until a better solution is found */ +static inline void +psppire_box_pack_start_defaults (GtkBox *box, GtkWidget *widget) +{ + gtk_box_pack_start (box, widget, TRUE, TRUE, 0); +} #endif +