1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-13 16:07:36 +00:00

application: Consistent use of user_data in action "activate" callbacks.

This commit is contained in:
Evangelos Ribeiro Tzaras 2022-08-18 02:54:34 +02:00
parent b893c81375
commit 5869296c14

View file

@ -370,7 +370,7 @@ show_accounts (GSimpleAction *action,
GVariant *parameter, GVariant *parameter,
gpointer user_data) 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); calls_main_window_show_accounts_overview (app->main_window);
} }