From: John Darrington Date: Wed, 10 Aug 2016 17:19:10 +0000 (+0200) Subject: Avoid compiler warning X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0155c3a841f6b78263d2d1f308aeafc51bdf7ca9;p=pspp Avoid compiler warning --- 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",