void
-comments_dialog (gpointer data)
+comments_dialog (PsppireDataWindow *de)
{
GtkTextIter iter;
gint response ;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
struct comment_dialog cd;
GtkBuilder *xml = builder_new ("psppire.ui");
#ifndef COMMENTS_DIALOG_H
#define COMMENTS_DIALOG_H
-void comments_dialog (gpointer data);
+#include "psppire-data-window.h"
+
+void comments_dialog (PsppireDataWindow * data);
#endif /* COMMENTS_DIALOG_H */
/* Pops up the Compute dialog box */
void
-compute_dialog (gpointer data)
+compute_dialog (PsppireDataWindow *de)
{
gint response;
- PsppireDataWindow *de = data;
PsppireVarStore *vs = NULL;
struct compute_dialog scd;
#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-void compute_dialog (gpointer data);
+void compute_dialog (PsppireDataWindow * data);
#endif
/* Pops up the Correlation dialog box */
void
-correlation_dialog (gpointer data)
+correlation_dialog (PsppireDataWindow *de)
{
struct correlation rd;
gint response;
GtkBuilder *xml = builder_new ("correlation.ui");
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
PsppireVarStore *vs;
GtkWidget *dialog = get_widget_assert (xml, "correlation-dialog");
#define __CORRELATION_DIALOG_H
#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-void correlation_dialog (gpointer data);
+void correlation_dialog (PsppireDataWindow * data);
#endif
/* Pops up the Crosstabs dialog box */
void
-crosstabs_dialog (gpointer data)
+crosstabs_dialog (PsppireDataWindow *de)
{
gint response;
struct crosstabs_dialog cd;
PsppireVarStore *vs = NULL;
PsppireDict *dict = NULL;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
-
GtkWidget *dialog = get_widget_assert (xml, "crosstabs-dialog");
GtkWidget *source = get_widget_assert (xml, "dict-treeview");
#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-
-void crosstabs_dialog (gpointer data);
+void crosstabs_dialog (PsppireDataWindow * data);
#endif
/* Pops up the Descriptives dialog box */
void
-descriptives_dialog (gpointer data)
+descriptives_dialog (PsppireDataWindow *de)
{
gint response;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
struct descriptives_dialog scd;
#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-void descriptives_dialog (gpointer data);
+void descriptives_dialog (PsppireDataWindow * data);
#endif
/* Pops up the Examine dialog box */
void
-examine_dialog (gpointer data)
+examine_dialog (PsppireDataWindow *de)
{
gint response;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
struct examine_dialog ex_d;
#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-void examine_dialog (gpointer data);
+void examine_dialog (PsppireDataWindow * data);
#endif
/* Pops up the Factor dialog box */
void
-factor_dialog (gpointer data)
+factor_dialog (PsppireDataWindow *dw)
{
struct factor fd;
gint response;
fd.extraction_dialog = get_widget_assert (fd.xml, "extractions-dialog");
- fd.de = PSPPIRE_DATA_WINDOW (data);
+ fd.de = dw;
g_signal_connect_swapped (dialog, "refresh", G_CALLBACK (refresh), &fd);
#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-void factor_dialog (gpointer data);
+void factor_dialog (PsppireDataWindow * data);
#endif
/* Pops up the Find dialog box
*/
void
-find_dialog (gpointer data)
+find_dialog (PsppireDataWindow *de)
{
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
-
struct find_dialog fd;
GtkWidget *dialog ;
#define FIND_DIALOG_H
#include <glib.h>
-#include <glib-object.h>
+#include "psppire-data-window.h"
/* Pops up the Find dialog box */
-void find_dialog (gpointer data);
+void find_dialog (PsppireDataWindow *);
#endif
/* Pops up the Frequencies dialog box */
void
-frequencies_dialog (gpointer data)
+frequencies_dialog (PsppireDataWindow *de)
{
gint response;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
struct frequencies_dialog fd;
#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-void frequencies_dialog (gpointer data);
+void frequencies_dialog (PsppireDataWindow * data);
#endif
}
void
-goto_case_dialog (gpointer data)
+goto_case_dialog (PsppireDataWindow *de)
{
gint response;
GtkBuilder *xml = builder_new ("psppire.ui");
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
GtkWidget *dialog = get_widget_assert (xml, "goto-case-dialog");
-
gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de));
refresh (de, xml);
#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-void goto_case_dialog (gpointer data);
+void goto_case_dialog (PsppireDataWindow * data);
#endif
/* Pops up the dialog box */
void
-oneway_anova_dialog (gpointer data)
+oneway_anova_dialog (PsppireDataWindow *de)
{
gint response;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
PsppireVarStore *vs = NULL;
#ifndef ONEWAY_ANOVA_DIALOG
#define ONEWAY_ANOVA_DIALOG
-void oneway_anova_dialog (gpointer data);
+#include "psppire-data-window.h"
+
+void oneway_anova_dialog (PsppireDataWindow * data);
#endif
/* Pops up the Rank dialog box */
void
-rank_dialog (gpointer data)
+rank_dialog (PsppireDataWindow *de)
{
gint response;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
struct rank_dialog rd;
#define __RANK_DIALOG_H
-#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-void rank_dialog (gpointer data);
+void rank_dialog (PsppireDataWindow *);
#endif
/* Pops up the Recode Same version of the dialog box */
void
-recode_same_dialog (gpointer data)
+recode_same_dialog (PsppireDataWindow *de)
{
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
-
recode_dialog (de, FALSE);
}
/* Pops up the Recode Different version of the dialog box */
void
-recode_different_dialog (gpointer data)
+recode_different_dialog (PsppireDataWindow *de)
{
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
-
recode_dialog (de, TRUE);
}
#define __RECODE_DIALOG_H
-#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-void recode_same_dialog (gpointer data);
-void recode_different_dialog (gpointer data);
+void recode_same_dialog (PsppireDataWindow * data);
+void recode_different_dialog (PsppireDataWindow * data);
#endif
/* Pops up the Regression dialog box */
void
-regression_dialog (gpointer data)
+regression_dialog (PsppireDataWindow *de)
{
gint response;
struct regression_dialog rd;
GtkBuilder *xml = builder_new ("regression.ui");
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
PsppireVarStore *vs;
GtkWidget *dialog = get_widget_assert (xml, "regression-dialog");
#define __REGRESSION_DIALOG_H
-#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-void regression_dialog (gpointer data);
+void regression_dialog (PsppireDataWindow * data);
#endif
/* Pops up the Reliability dialog box */
void
-reliability_dialog (gpointer data)
+reliability_dialog (PsppireDataWindow *de)
{
struct reliability rd;
gint response;
GtkBuilder *xml = builder_new ("reliability.ui");
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
PsppireVarStore *vs;
GtkWidget *dialog = get_widget_assert (xml, "reliability-dialog");
#define __RELIABILITY_DIALOG_H
-#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-void reliability_dialog (gpointer data);
+void reliability_dialog (PsppireDataWindow * data);
#endif
/* Pops up the Roc dialog box */
void
-roc_dialog (gpointer data)
+roc_dialog (PsppireDataWindow *de)
{
struct roc rd;
gint response;
GtkBuilder *xml = builder_new ("roc.ui");
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
PsppireVarStore *vs;
GtkWidget *dialog = get_widget_assert (xml, "roc-dialog");
#define __ROC_DIALOG_H
-#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-void roc_dialog (gpointer data);
+void roc_dialog (PsppireDataWindow * data);
#endif
/* Pops up the Select Cases dialog box */
void
-select_cases_dialog (gpointer data)
+select_cases_dialog (PsppireDataWindow *de)
{
gint response;
struct select_cases_dialog scd = {0,0,0,0,0,0};
GtkWidget *dialog ;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
GtkWidget *entry = NULL;
GtkWidget *selector ;
GtkWidget *button_range;
#define __SELECT_CASES_DIALOG_H
-#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-
-void select_cases_dialog (gpointer data);
+void select_cases_dialog (PsppireDataWindow * data);
#endif
/* Pops up the Sort Cases dialog box */
void
-sort_cases_dialog (gpointer data)
+sort_cases_dialog (PsppireDataWindow *de)
{
gint response;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
struct sort_cases_dialog scd;
#ifndef __SORT_CASES_DIALOG_H
#define __SORT_CASES_DIALOG_H
+#include "psppire-data-window.h"
-#include <gtk/gtk.h>
-
-void sort_cases_dialog (gpointer data);
+void sort_cases_dialog (PsppireDataWindow * data);
#endif
/* Pops up the Split File dialog box */
void
-split_file_dialog (gpointer data)
+split_file_dialog (PsppireDataWindow *de)
{
gint response;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
struct split_file_dialog sfd;
PsppireVarStore *vs ;
#ifndef SPLIT_FILE_DIALOG_H
#define SPLIT_FILE_DIALOG_H
-#include <glib.h>
-#include <glib-object.h>
+#include "psppire-data-window.h"
/* Pops up the Split File dialog box */
-void split_file_dialog (gpointer data);
+void split_file_dialog (PsppireDataWindow * data);
#endif
/* Pops up the dialog box */
void
-t_test_independent_samples_dialog (gpointer data)
+t_test_independent_samples_dialog (PsppireDataWindow *de)
{
struct tt_indep_samples_dialog tt_d;
gint response;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
PsppireVarStore *vs = NULL;
#ifndef T_TEST_INDEPENDENT_SAMPLES_DIALOG
#define T_TEST_INDEPENDENT_SAMPLES_DIALOG
-void t_test_independent_samples_dialog (gpointer) ;
+#include "psppire-data-window.h"
+
+void t_test_independent_samples_dialog (PsppireDataWindow *) ;
#endif
/* Pops up the dialog box */
void
-t_test_one_sample_dialog (gpointer data)
+t_test_one_sample_dialog (PsppireDataWindow *de)
{
struct tt_one_sample_dialog tt_d;
gint response;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
PsppireVarStore *vs = NULL;
#ifndef T_TEST_ONE_SAMPLE_DIALOG
#define T_TEST_ONE_SAMPLE_DIALOG
-void t_test_one_sample_dialog (gpointer) ;
+#include "psppire-data-window.h"
+
+void t_test_one_sample_dialog (PsppireDataWindow *) ;
#endif
/* Pops up the dialog box */
void
-t_test_paired_samples_dialog (gpointer data)
+t_test_paired_samples_dialog (PsppireDataWindow *de)
{
struct tt_paired_samples_dialog tt_d;
gint response;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
PsppireVarStore *vs = NULL;
#ifndef T_TEST_PAIRED_SAMPLES_DIALOG
#define T_TEST_PAIRED_SAMPLES_DIALOG
-void t_test_paired_samples_dialog (gpointer) ;
+#include "psppire-data-window.h"
+
+void t_test_paired_samples_dialog (PsppireDataWindow *) ;
#endif
void
-transpose_dialog (gpointer data)
+transpose_dialog (PsppireDataWindow *de)
{
gint response ;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
PsppireDict *dict = NULL;
GtkBuilder *xml = builder_new ("psppire.ui");
#ifndef TRANSPOSE_DIALOG_H
#define TRANSPOSE_DIALOG_H
-#include <glib.h>
-#include <glib-object.h>
+#include "psppire-data-window.h"
-void transpose_dialog (gpointer data);
+void transpose_dialog (PsppireDataWindow * data);
#endif
void
-variable_info_dialog (gpointer data)
+variable_info_dialog (PsppireDataWindow *de)
{
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
-
gint response ;
GtkBuilder *xml = builder_new ("variable-info.ui");
#ifndef __VARIABLE_DIALOG_H
#define __VARIABLE_DIALOG_H
-#include <gtk/gtk.h>
+#include "psppire-data-window.h"
-void variable_info_dialog (gpointer data);
+void variable_info_dialog (PsppireDataWindow * data);
#endif
/* Pops up the Weight Cases dialog box */
void
-weight_cases_dialog (gpointer data)
+weight_cases_dialog (PsppireDataWindow *de)
{
gint response;
- PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data);
struct weight_cases_dialog wcd;
GtkBuilder *xml = builder_new ("psppire.ui");
#ifndef WEIGHT_CASES_DIALOG_H
#define WEIGHT_CASES_DIALOG_H
-#include <glib.h>
-#include <glib-object.h>
+#include "psppire-data-window.h"
/* Pops up the Weight Cases dialog box */
-void weight_cases_dialog (gpointer data);
+void weight_cases_dialog (PsppireDataWindow * data);
#endif