From eca237d3b0ba0cccbe8855db1fda53e70e4ee8ec Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Thu, 2 Nov 2023 13:51:36 +0100 Subject: src/service.c: Rename onRemoteSuspend -> on_remote_suspend (better matching with other function names). --- src/service.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/service.c b/src/service.c index e7682ee..c3122cd 100644 --- a/src/service.c +++ b/src/service.c @@ -1103,7 +1103,7 @@ static void on_custom_activated (GSimpleAction *pAction G_GNUC_UNUSED, GVariant ayatana_common_utils_open_url (sUri); } -static void onRemoteSuspend (GSimpleAction *pAction G_GNUC_UNUSED, GVariant *pParam G_GNUC_UNUSED, gpointer pUserData) +static void on_remote_suspend (GSimpleAction *pAction G_GNUC_UNUSED, GVariant *pParam G_GNUC_UNUSED, gpointer pUserData) { #ifdef RDA_ENABLED rda_session_suspend (); @@ -1132,7 +1132,7 @@ init_gactions (IndicatorSessionService * self) { "suspend", on_suspend_activated }, { "power-off", on_power_off_activated }, { "custom", on_custom_activated }, - { "remotesuspend", onRemoteSuspend } + { "remotesuspend", on_remote_suspend } }; p->actions = g_simple_action_group_new (); -- cgit v1.2.3