X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fweight-cases-dialog.c;h=fc50aea944b56889a7dd31009a31047fbbee4df2;hb=b6088c04a2380078af7ce9c18b6ba52a0f6b38cf;hp=956451b13702fe2097a0a4f05c416a8d4201dffb;hpb=3b296fce73d5446b67c13c3b56d74ab0b38519d9;p=pspp diff --git a/src/ui/gui/weight-cases-dialog.c b/src/ui/gui/weight-cases-dialog.c index 956451b137..fc50aea944 100644 --- a/src/ui/gui/weight-cases-dialog.c +++ b/src/ui/gui/weight-cases-dialog.c @@ -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 (GObject *o, 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"); @@ -165,7 +164,7 @@ weight_cases_dialog (GObject *o, gpointer data) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&wcd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); } break;