X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fhelper.h;h=d388ccb41821b132afaf5670647ea3dd961a0cd4;hb=8953baa61127d6d3b91f763663ea647bf3e4e793;hp=25ff0aa00c4cdccd60268efca6321eb4c045f1f2;hpb=9dee07e30883ae4e1c72ebf3c612655fdf8ad6f5;p=pspp-builds.git diff --git a/src/ui/gui/helper.h b/src/ui/gui/helper.h index 25ff0aa0..d388ccb4 100644 --- a/src/ui/gui/helper.h +++ b/src/ui/gui/helper.h @@ -47,7 +47,7 @@ gchar * value_to_text (union value v, struct fmt_spec format); gboolean text_to_value (const gchar *text, union value *v, struct fmt_spec format); -GtkWidget * get_widget_assert (GladeXML *xml, const gchar *name); +GtkWidget * get_widget_assert (gpointer x, const gchar *name); /* Converts a string in the pspp locale to utf-8 */ char * pspp_locale_to_utf8 (const gchar *text, gssize len, GError **err); @@ -64,12 +64,9 @@ gboolean execute_syntax (struct getl_interface *sss); glade_xml_new (relocate(PKGDATADIR "/" FILE), NULL, NULL) -void marshaller_VOID__INT_INT_INT (GClosure *closure, - GValue *return_value, - guint n_param_values, - const GValue *param_values, - gpointer invocation_hint, - gpointer marshal_data); +#define builder_new(NAME) builder_new_real (relocate (PKGDATADIR "/" NAME)) + +GtkBuilder *builder_new_real (const gchar *name); /* Create a deep copy of SRC */