X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-syntax-window.c;h=13101f9394da34ab08bad3eed75398951d87cc87;hb=debddb2afee6725855f1b44e3bebbb67769def55;hp=fddc005e5fdcd25d5c73cef231d40264dc1d224d;hpb=7293c1a383d325c371bd708401e5a1d7586a4d90;p=pspp diff --git a/src/ui/gui/psppire-syntax-window.c b/src/ui/gui/psppire-syntax-window.c index fddc005e5f..13101f9394 100644 --- a/src/ui/gui/psppire-syntax-window.c +++ b/src/ui/gui/psppire-syntax-window.c @@ -798,7 +798,7 @@ psppire_syntax_window_init (PsppireSyntaxWindow *window) gtk_widget_show_all (box); - GApplication *app = g_application_get_default (); + GtkApplication *app = GTK_APPLICATION (g_application_get_default ()); { GSimpleAction *open = g_simple_action_new ("open", NULL); @@ -885,7 +885,7 @@ psppire_syntax_window_init (PsppireSyntaxWindow *window) g_action_map_add_action (G_ACTION_MAP (window), G_ACTION (run_current_line)); - GApplication *app = g_application_get_default (); + GtkApplication *app = GTK_APPLICATION (g_application_get_default ()); const gchar *accels[2] = { "R", NULL}; gtk_application_set_accels_for_action (app, "win.run-current-line",