X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Foneway-anova-dialog.c;fp=src%2Fui%2Fgui%2Foneway-anova-dialog.c;h=4db1e5ff6bccf8ea484c568f06f774bdfb9806eb;hb=d43a876351d94acce0e8d565ad2cb4d690727fe9;hp=13f3621092a06050fbe5be38e0084efbf1b1bbe5;hpb=c9d55afdda746d7e8b39e5a117c1644debbb0c75;p=pspp-builds.git diff --git a/src/ui/gui/oneway-anova-dialog.c b/src/ui/gui/oneway-anova-dialog.c index 13f36210..4db1e5ff 100644 --- a/src/ui/gui/oneway-anova-dialog.c +++ b/src/ui/gui/oneway-anova-dialog.c @@ -31,7 +31,7 @@ #include -#include "syntax-editor.h" +#include "psppire-syntax-window.h" #include "gettext.h" @@ -242,10 +242,11 @@ oneway_anova_dialog (GObject *o, gpointer data) { gchar *syntax = generate_syntax (&ow); - struct syntax_editor *se = - (struct syntax_editor *) window_create (WINDOW_SYNTAX, NULL); + GtkWidget *se = psppire_syntax_window_new (); - gtk_text_buffer_insert_at_cursor (se->buffer, syntax, -1); + gtk_text_buffer_insert_at_cursor (PSPPIRE_SYNTAX_WINDOW (se)->buffer, syntax, -1); + + gtk_widget_show (se); g_free (syntax); }