X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fwidgets.c;h=488656e9e6365173805a373c0fa64e03e6fe8ad6;hb=1509c6773d7302a2753c4f47b3e52fc5e3cca185;hp=0da5c6c73fd0a97db6e07044dce58ae09d7c9b03;hpb=2648cb6603262653fa660d0b7045450d5df6e6a9;p=pspp diff --git a/src/ui/gui/widgets.c b/src/ui/gui/widgets.c index 0da5c6c73f..488656e9e6 100644 --- a/src/ui/gui/widgets.c +++ b/src/ui/gui/widgets.c @@ -1,5 +1,7 @@ #include +#include + #include "widgets.h" @@ -13,12 +15,16 @@ #include "psppire-var-view.h" #include "psppire-val-chooser.h" +#include "psppire-dialog-action-binomial.h" #include "psppire-dialog-action-correlation.h" +#include "psppire-dialog-action-crosstabs.h" #include "psppire-dialog-action-descriptives.h" #include "psppire-dialog-action-examine.h" #include "psppire-dialog-action-factor.h" +#include "psppire-dialog-action-frequencies.h" #include "psppire-dialog-action-indep-samps.h" #include "psppire-dialog-action-kmeans.h" +#include "psppire-dialog-action-logistic.h" #include "psppire-dialog-action-means.h" #include "psppire-means-layer.h" #include "psppire-dialog-action-rank.h" @@ -29,6 +35,7 @@ #include "psppire-dialog-action-var-info.h" #include "psppire-value-entry.h" +static volatile GType kludge; /* Any custom widgets which are to be used in GtkBuilder ui files need to be preregistered, otherwise GtkBuilder refuses to @@ -47,10 +54,14 @@ preregister_widgets (void) psppire_var_view_get_type (); psppire_value_entry_get_type (); + psppire_dialog_action_binomial_get_type (); psppire_dialog_action_correlation_get_type (); + psppire_dialog_action_crosstabs_get_type (); psppire_dialog_action_descriptives_get_type (); psppire_dialog_action_examine_get_type (); psppire_dialog_action_factor_get_type (); + psppire_dialog_action_frequencies_get_type (); + psppire_dialog_action_logistic_get_type (); psppire_dialog_action_kmeans_get_type (); psppire_dialog_action_means_get_type (); psppire_dialog_action_indep_samps_get_type (); @@ -61,4 +72,8 @@ preregister_widgets (void) psppire_dialog_action_regression_get_type (); psppire_dialog_action_roc_get_type (); psppire_dialog_action_sort_get_type (); + + /* This seems to be necessary on Cygwin. + It ought not to be necessary. Having it here can't do any harm. */ + kludge = gtk_source_view_get_type (); }