Fix compiler warning
authorJohn Darrington <john@darrington.wattle.id.au>
Mon, 8 Aug 2016 18:52:06 +0000 (20:52 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Mon, 8 Aug 2016 18:52:06 +0000 (20:52 +0200)
src/ui/gui/psppire-syntax-window.c

index fddc005e5fdcd25d5c73cef231d40264dc1d224d..b8aa16872d6c3e83eb26ea2bb06883eb8d46c48a 100644 (file)
@@ -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);