Change gpointer variable to PsppireDataWindow * in dialog function signatures
[pspp-builds.git] / src / ui / gui / weight-cases-dialog.c
index c2c5823319dddad9643065bcd01b8b05c796fded..d09915e07598ee17b2befb631c107e4faa8a356a 100644 (file)
@@ -102,10 +102,9 @@ static gchar * generate_syntax (const struct weight_cases_dialog *wcd);
 
 /* 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");