X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fdescriptives-dialog.c;h=5a774902556e43e36e21e8a39cd3c90df6e5703f;hb=481e4ef5d944216a7212f3de245dec4f42c8d120;hp=cad48b888539988c40c0923aa903a4017665dc3c;hpb=cea13036899235f1b8b75c45b9ed825dde034ead;p=pspp diff --git a/src/ui/gui/descriptives-dialog.c b/src/ui/gui/descriptives-dialog.c index cad48b8885..5a77490255 100644 --- a/src/ui/gui/descriptives-dialog.c +++ b/src/ui/gui/descriptives-dialog.c @@ -203,10 +203,9 @@ dialog_state_valid (gpointer data) /* Pops up the Descriptives dialog box */ void -descriptives_dialog (GObject *o, gpointer data) +descriptives_dialog (PsppireDataWindow *de) { gint response; - PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data); struct descriptives_dialog scd; @@ -271,7 +270,7 @@ descriptives_dialog (GObject *o, gpointer data) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&scd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } break;