X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-syntax-window.c;h=854ff700bd0dd81692c3dc4ffbd7657c78a286a7;hb=e339b2ca72d77a076566856e9357781d49cd983c;hp=0c05fdc58e167436ac0419faaf118ca894f3f200;hpb=e943de7a3e0645852c3b659889ff3ccf38dd43ec;p=pspp diff --git a/src/ui/gui/psppire-syntax-window.c b/src/ui/gui/psppire-syntax-window.c index 0c05fdc58e..854ff700bd 100644 --- a/src/ui/gui/psppire-syntax-window.c +++ b/src/ui/gui/psppire-syntax-window.c @@ -669,7 +669,7 @@ load_and_show_syntax_window (GtkWidget *se, const gchar *filename) gboolean ok; gtk_source_buffer_begin_not_undoable_action (PSPPIRE_SYNTAX_WINDOW (se)->buffer); - ok = psppire_window_load (PSPPIRE_WINDOW (se), filename); + ok = psppire_window_load (PSPPIRE_WINDOW (se), filename, NULL); gtk_source_buffer_end_not_undoable_action (PSPPIRE_SYNTAX_WINDOW (se)->buffer); if (ok ) @@ -944,7 +944,7 @@ error_dialog (GtkWindow *w, const gchar *filename, GError *err) Loads the buffer from the file called FILENAME */ gboolean -syntax_load (PsppireWindow *window, const gchar *filename) +syntax_load (PsppireWindow *window, const gchar *filename, gpointer not_used) { GError *err = NULL; gchar *text_locale = NULL;