From 5869296c14356b87dbac759ae59b9583ef702ca5 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Thu, 18 Aug 2022 02:54:34 +0200 Subject: [PATCH] application: Consistent use of user_data in action "activate" callbacks. --- src/calls-application.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calls-application.c b/src/calls-application.c index 302f117..88f2e9e 100644 --- a/src/calls-application.c +++ b/src/calls-application.c @@ -370,7 +370,7 @@ show_accounts (GSimpleAction *action, GVariant *parameter, gpointer user_data) { - CallsApplication *app = CALLS_APPLICATION (g_application_get_default ()); + CallsApplication *app = CALLS_APPLICATION (user_data); calls_main_window_show_accounts_overview (app->main_window); }