application: Consistent use of user_data in action "activate" callbacks.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user