X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fcomments-dialog.c;h=02d6d96c763d3064840fe72ebcd6d590aaa4acf7;hb=66153a44d861ccddf6a176ec5a94ffb959232ad6;hp=34c9957d4fea4ea659f56b7e02e9e91b090dc2df;hpb=4c4f035bfad520dc54f0d5a9e30e36d4fb009efc;p=pspp-builds.git diff --git a/src/ui/gui/comments-dialog.c b/src/ui/gui/comments-dialog.c index 34c9957d..02d6d96c 100644 --- a/src/ui/gui/comments-dialog.c +++ b/src/ui/gui/comments-dialog.c @@ -21,7 +21,7 @@ #include "psppire-data-window.h" #include "psppire-data-editor.h" #include -#include "helper.h" +#include "executor.h" #include "psppire-var-store.h" #include @@ -30,7 +30,6 @@ #include "dialog-common.h" #include -#include #include @@ -40,7 +39,7 @@ struct comment_dialog { - GladeXML *xml; + GtkBuilder *xml; PsppireDict *dict; }; @@ -99,7 +98,7 @@ comments_dialog (GObject *o, gpointer data) PsppireDataWindow *de = PSPPIRE_DATA_WINDOW (data); struct comment_dialog cd; - GladeXML *xml = XML_NEW ("psppire.glade"); + GtkBuilder *xml = builder_new ("psppire.ui"); GtkWidget *dialog = get_widget_assert (xml, "comments-dialog"); GtkWidget *textview = get_widget_assert (xml, "comments-textview1"); @@ -146,7 +145,7 @@ comments_dialog (GObject *o, gpointer data) } cd.xml = xml; - cd.dict = vs->dict; + g_object_get (vs, "dictionary", &cd.dict, NULL); g_signal_connect (buffer, "mark-set", G_CALLBACK (set_column_number), label);