From abb6c95feac3a6a496bb7841829acd4de3ea9c80 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 6 Aug 2016 20:54:22 +0200 Subject: [PATCH] Fix compiler warning --- src/ui/gui/psppire-syntax-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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", -- 2.30.2