From: John Darrington <john@darrington.wattle.id.au> Date: Sat, 6 Aug 2016 18:54:22 +0000 (+0200) Subject: Fix compiler warning X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=abb6c95feac3a6a496bb7841829acd4de3ea9c80;p=pspp Fix compiler warning --- 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] = { "<Ctrl>R", NULL}; gtk_application_set_accels_for_action (app, "win.run-current-line",