X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Froc-dialog.c;h=45972d547640d19a7fa1c8437efecebb66239ca0;hb=481e4ef5d944216a7212f3de245dec4f42c8d120;hp=cf0a831f812edbe3171e4a85220ba8f26b38e215;hpb=d3bb6901f626d91b0234f5ff1f5f7c2f9023f863;p=pspp diff --git a/src/ui/gui/roc-dialog.c b/src/ui/gui/roc-dialog.c index cf0a831f81..45972d5476 100644 --- a/src/ui/gui/roc-dialog.c +++ b/src/ui/gui/roc-dialog.c @@ -119,13 +119,12 @@ on_curve_button_toggle (GtkCheckButton *curve, struct roc *rd) /* Pops up the Roc dialog box */ void -roc_dialog (GObject *o, 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"); @@ -175,7 +174,7 @@ roc_dialog (GObject *o, gpointer data) case PSPPIRE_RESPONSE_PASTE: { gchar *syntax = generate_syntax (&rd); - paste_syntax_in_new_window (syntax); + paste_syntax_to_window (syntax); g_free (syntax); }