From 0155c3a841f6b78263d2d1f308aeafc51bdf7ca9 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Wed, 10 Aug 2016 19:19:10 +0200 Subject: [PATCH] Avoid compiler warning --- src/ui/gui/psppire-syntax-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/gui/psppire-syntax-window.c b/src/ui/gui/psppire-syntax-window.c index b8aa16872d..13101f9394 100644 --- a/src/ui/gui/psppire-syntax-window.c +++ b/src/ui/gui/psppire-syntax-window.c @@ -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