projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace checkbox-treeview functions with a object PsppireCheckboxTreeview
[pspp]
/
src
/
ui
/
gui
/
widgets.c
diff --git
a/src/ui/gui/widgets.c
b/src/ui/gui/widgets.c
index d131b6469f7c8abad637b2eb13b9d5155e955394..7046df8c93cf59c127181b775b5ac358b7d1b89b 100644
(file)
--- a/
src/ui/gui/widgets.c
+++ b/
src/ui/gui/widgets.c
@@
-1,5
+1,7
@@
#include <config.h>
#include <config.h>
+#include <gtksourceview/gtksourceview.h>
+
#include "widgets.h"
#include "widgets.h"
@@
-12,17
+14,29
@@
#include "psppire-dictview.h"
#include "psppire-var-view.h"
#include "psppire-val-chooser.h"
#include "psppire-dictview.h"
#include "psppire-var-view.h"
#include "psppire-val-chooser.h"
+#include "psppire-checkbox-treeview.h"
+#include "psppire-dialog-action-binomial.h"
#include "psppire-dialog-action-correlation.h"
#include "psppire-dialog-action-correlation.h"
+#include "psppire-dialog-action-crosstabs.h"
#include "psppire-dialog-action-descriptives.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-kmeans.h"
+#include "psppire-dialog-action-logistic.h"
#include "psppire-dialog-action-means.h"
#include "psppire-means-layer.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-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
/* Any custom widgets which are to be used in GtkBuilder ui files
need to be preregistered, otherwise GtkBuilder refuses to
@@
-39,14
+53,29
@@
preregister_widgets (void)
psppire_acr_get_type ();
psppire_dict_view_get_type ();
psppire_var_view_get_type ();
psppire_acr_get_type ();
psppire_dict_view_get_type ();
psppire_var_view_get_type ();
+ psppire_value_entry_get_type ();
+ psppire_checkbox_treeview_get_type ();
+ psppire_dialog_action_binomial_get_type ();
psppire_dialog_action_correlation_get_type ();
psppire_dialog_action_correlation_get_type ();
+ psppire_dialog_action_crosstabs_get_type ();
psppire_dialog_action_descriptives_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_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_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_reliability_get_type ();
+ psppire_dialog_action_regression_get_type ();
psppire_dialog_action_roc_get_type ();
psppire_dialog_action_sort_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 ();
}
}