From 5e636edb7d5816dc2cd514ab965ac7e77007a47c Mon Sep 17 00:00:00 2001 From: Bob Ham Date: Fri, 9 Nov 2018 16:20:39 +0000 Subject: [PATCH] main: Remove needless cast to GtkApplication --- src/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.c b/src/main.c index 8ed2948..5261853 100644 --- a/src/main.c +++ b/src/main.c @@ -32,15 +32,15 @@ int main (int argc, char **argv) { - GtkApplication *app; + GApplication *app; int status; textdomain (GETTEXT_PACKAGE); bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR); - app = GTK_APPLICATION (calls_application_new ()); - status = g_application_run (G_APPLICATION (app), argc, argv); + app = G_APPLICATION (calls_application_new ()); + status = g_application_run (app, argc, argv); g_object_unref (app); return status;