3 #include <gtksourceview/gtksourceview.h>
8 #include "psppire-dialog.h"
9 #include "psppire-selector.h"
10 #include "psppire-vbuttonbox.h"
11 #include "psppire-hbuttonbox.h"
12 #include "psppire-keypad.h"
13 #include "psppire-acr.h"
14 #include "psppire-dictview.h"
15 #include "psppire-var-view.h"
16 #include "psppire-val-chooser.h"
18 #include "psppire-dialog-action-binomial.h"
19 #include "psppire-dialog-action-correlation.h"
20 #include "psppire-dialog-action-crosstabs.h"
21 #include "psppire-dialog-action-descriptives.h"
22 #include "psppire-dialog-action-examine.h"
23 #include "psppire-dialog-action-factor.h"
24 #include "psppire-dialog-action-frequencies.h"
25 #include "psppire-dialog-action-indep-samps.h"
26 #include "psppire-dialog-action-kmeans.h"
27 #include "psppire-dialog-action-logistic.h"
28 #include "psppire-dialog-action-means.h"
29 #include "psppire-means-layer.h"
30 #include "psppire-dialog-action-rank.h"
31 #include "psppire-dialog-action-regression.h"
32 #include "psppire-dialog-action-reliability.h"
33 #include "psppire-dialog-action-roc.h"
34 #include "psppire-dialog-action-sort.h"
35 #include "psppire-dialog-action-var-info.h"
36 #include "psppire-value-entry.h"
38 static volatile GType kludge;
40 /* Any custom widgets which are to be used in GtkBuilder ui files
41 need to be preregistered, otherwise GtkBuilder refuses to
42 acknowledge their existence. */
44 preregister_widgets (void)
46 psppire_val_chooser_get_type ();
47 psppire_dialog_get_type ();
48 psppire_selector_get_type ();
49 psppire_vbutton_box_get_type ();
50 psppire_hbutton_box_get_type ();
51 psppire_keypad_get_type ();
52 psppire_acr_get_type ();
53 psppire_dict_view_get_type ();
54 psppire_var_view_get_type ();
55 psppire_value_entry_get_type ();
57 psppire_dialog_action_binomial_get_type ();
58 psppire_dialog_action_correlation_get_type ();
59 psppire_dialog_action_crosstabs_get_type ();
60 psppire_dialog_action_descriptives_get_type ();
61 psppire_dialog_action_examine_get_type ();
62 psppire_dialog_action_factor_get_type ();
63 psppire_dialog_action_frequencies_get_type ();
64 psppire_dialog_action_logistic_get_type ();
65 psppire_dialog_action_kmeans_get_type ();
66 psppire_dialog_action_means_get_type ();
67 psppire_dialog_action_indep_samps_get_type ();
68 psppire_means_layer_get_type ();
69 psppire_dialog_action_var_info_get_type ();
70 psppire_dialog_action_rank_get_type ();
71 psppire_dialog_action_reliability_get_type ();
72 psppire_dialog_action_regression_get_type ();
73 psppire_dialog_action_roc_get_type ();
74 psppire_dialog_action_sort_get_type ();
76 /* This seems to be necessary on Cygwin.
77 It ought not to be necessary. Having it here can't do any harm. */
78 kludge = gtk_source_view_get_type ();