From bfcf78e81b1f28be83ee2fb40d4fa7c92dbcc1b7 Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Tue, 17 Sep 2013 12:54:33 +0200 Subject: [PATCH] Changed application_activate_cb() signature Made it so casting is no longer needed inside. --- src/astrognome.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/astrognome.c b/src/astrognome.c index d4248ce..2d826ba 100644 --- a/src/astrognome.c +++ b/src/astrognome.c @@ -44,10 +44,10 @@ run_action(AgApp *app, gboolean is_remote) } static void -application_activate_cb(GtkApplication *app, gpointer user_data) +application_activate_cb(AgApp *app, gpointer user_data) { - ag_app_new_window(AG_APP(app)); - run_action(AG_APP(app), FALSE); + ag_app_new_window(app); + run_action(app, FALSE); } int