X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fwidgets.c;h=a7c52c6d4566c33f008db289161c806fa30e7509;hb=788e5989aa575b8b8f576a5489f4972d59f6507b;hp=9ef2ae88330366fe1db7504696b8e13f703e2221;hpb=e0d88baeadd6bc1eb1176da30de771ac9658f4c9;p=pspp diff --git a/src/ui/gui/widgets.c b/src/ui/gui/widgets.c index 9ef2ae8833..a7c52c6d45 100644 --- a/src/ui/gui/widgets.c +++ b/src/ui/gui/widgets.c @@ -1,5 +1,7 @@ #include +#include + #include "widgets.h" @@ -17,16 +19,20 @@ #include "psppire-dialog-action-descriptives.h" #include "psppire-dialog-action-examine.h" #include "psppire-dialog-action-factor.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" +#include "psppire-dialog-action-regression.h" #include "psppire-dialog-action-reliability.h" #include "psppire-dialog-action-roc.h" #include "psppire-dialog-action-sort.h" #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 @@ -49,12 +55,19 @@ preregister_widgets (void) psppire_dialog_action_descriptives_get_type (); psppire_dialog_action_examine_get_type (); psppire_dialog_action_factor_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 (); psppire_means_layer_get_type (); psppire_dialog_action_var_info_get_type (); psppire_dialog_action_rank_get_type (); psppire_dialog_action_reliability_get_type (); + 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 (); }