From: John Darrington Date: Sun, 4 Jan 2009 07:00:04 +0000 (+0900) Subject: Fix pointer types as appropriate X-Git-Tag: v0.7.1~16 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21f8b80b93df013ab921fbb4adeadd7e3424262f;p=pspp-builds.git Fix pointer types as appropriate --- diff --git a/src/ui/gui/compute-dialog.c b/src/ui/gui/compute-dialog.c index e868d3cb..76b9a7d1 100644 --- a/src/ui/gui/compute-dialog.c +++ b/src/ui/gui/compute-dialog.c @@ -113,7 +113,7 @@ erase_selection (GtkTextBuffer *buffer) static void on_keypad_button (PsppireKeypad *kp, const gchar *syntax, gpointer data) { - GladeXML *xml = data; + GtkBuilder *xml = data; GtkWidget *rhs = get_widget_assert (xml, "compute-textview1"); @@ -137,7 +137,7 @@ on_keypad_button (PsppireKeypad *kp, const gchar *syntax, gpointer data) static void erase (PsppireKeypad *kp, gpointer data) { - GladeXML *xml = data; + GtkBuilder *xml = data; GtkWidget *rhs = get_widget_assert (xml, "compute-textview1"); diff --git a/src/ui/gui/compute-dialog.h b/src/ui/gui/compute-dialog.h index 8f16b5f6..3611865e 100644 --- a/src/ui/gui/compute-dialog.h +++ b/src/ui/gui/compute-dialog.h @@ -19,8 +19,6 @@ #include -#include - void compute_dialog (GObject *o, gpointer data); diff --git a/src/ui/gui/crosstabs-dialog.h b/src/ui/gui/crosstabs-dialog.h index 33349b90..11da9814 100644 --- a/src/ui/gui/crosstabs-dialog.h +++ b/src/ui/gui/crosstabs-dialog.h @@ -19,7 +19,6 @@ #include -#include void crosstabs_dialog (GObject *o, gpointer data); diff --git a/src/ui/gui/examine-dialog.h b/src/ui/gui/examine-dialog.h index b8e70272..d8e3fb6c 100644 --- a/src/ui/gui/examine-dialog.h +++ b/src/ui/gui/examine-dialog.h @@ -19,8 +19,6 @@ #include -#include - void examine_dialog (GObject *o, gpointer data); diff --git a/src/ui/gui/frequencies-dialog.h b/src/ui/gui/frequencies-dialog.h index 90990a41..f4d44f35 100644 --- a/src/ui/gui/frequencies-dialog.h +++ b/src/ui/gui/frequencies-dialog.h @@ -19,8 +19,6 @@ #include -#include - void frequencies_dialog (GObject *o, gpointer data); diff --git a/src/ui/gui/goto-case-dialog.h b/src/ui/gui/goto-case-dialog.h index 536ccb08..7b3da66d 100644 --- a/src/ui/gui/goto-case-dialog.h +++ b/src/ui/gui/goto-case-dialog.h @@ -19,8 +19,6 @@ #include -#include - void goto_case_dialog (GObject *o, gpointer data); diff --git a/src/ui/gui/rank-dialog.h b/src/ui/gui/rank-dialog.h index a2ddace6..8a5064f5 100644 --- a/src/ui/gui/rank-dialog.h +++ b/src/ui/gui/rank-dialog.h @@ -19,8 +19,6 @@ #include -#include - void rank_dialog (GObject *o, gpointer data); diff --git a/src/ui/gui/regression-dialog.h b/src/ui/gui/regression-dialog.h index ca79ba35..d34a61c9 100644 --- a/src/ui/gui/regression-dialog.h +++ b/src/ui/gui/regression-dialog.h @@ -19,8 +19,6 @@ #include -#include - void regression_dialog (GObject *o, gpointer data); diff --git a/src/ui/gui/sort-cases-dialog.h b/src/ui/gui/sort-cases-dialog.h index badcdd60..000d2c00 100644 --- a/src/ui/gui/sort-cases-dialog.h +++ b/src/ui/gui/sort-cases-dialog.h @@ -19,8 +19,6 @@ #include -#include - void sort_cases_dialog (GObject *o, gpointer data); diff --git a/src/ui/gui/split-file-dialog.c b/src/ui/gui/split-file-dialog.c index 57f5733c..00f30c62 100644 --- a/src/ui/gui/split-file-dialog.c +++ b/src/ui/gui/split-file-dialog.c @@ -108,7 +108,7 @@ static void on_off_toggled (GtkToggleButton *togglebutton, gpointer user_data) { - GladeXML *xml = user_data; + GtkBuilder *xml = user_data; GtkWidget *dest = get_widget_assert (xml, "split-file-grouping-vars"); GtkWidget *selector = get_widget_assert (xml, "split-file-selector"); GtkWidget *source = get_widget_assert (xml, "split-file-dict-treeview");