diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-11-02 13:51:36 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-11-02 13:51:36 +0100 |
commit | eca237d3b0ba0cccbe8855db1fda53e70e4ee8ec (patch) | |
tree | fc083a25efdf7f3d948172a2e2609fcb301ac190 /src | |
parent | 8fd1edd3777e16829492c9b57f5c583e161ae0af (diff) | |
download | ayatana-indicator-session-eca237d3b0ba0cccbe8855db1fda53e70e4ee8ec.tar.gz ayatana-indicator-session-eca237d3b0ba0cccbe8855db1fda53e70e4ee8ec.tar.bz2 ayatana-indicator-session-eca237d3b0ba0cccbe8855db1fda53e70e4ee8ec.zip |
src/service.c: Rename onRemoteSuspend -> on_remote_suspend (better matching with other function names).
Diffstat (limited to 'src')
-rw-r--r-- | src/service.c | 4 |
1 files 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 (); |