Skip to content

Commit 68a787b

Browse files
authored
Cosmetic change: rename g-s-d to c-s-d (#409)
Initially I wanted to fix typo only in assertion message like "Attempting to call gsb-backlight-helper on non-Linux" Note gsb instead of gsd here as well. But later I decided to change it everywhere.
1 parent 212eaf8 commit 68a787b

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

plugins/keyboard/csd-input-sources-switcher.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ do_switch (void)
5050
GVariant *sources;
5151
gint i, n;
5252

53-
/* FIXME: this is racy with the g-s-d media-keys plugin. Instead we
54-
should have a DBus API on g-s-d and poke it from here.*/
53+
/* FIXME: this is racy with the c-s-d media-keys plugin. Instead we
54+
should have a DBus API on c-s-d and poke it from here.*/
5555
sources = g_settings_get_value (input_sources_settings, KEY_INPUT_SOURCES);
5656

5757
n = g_variant_n_children (sources);

plugins/power/csd-backlight-helper.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ main (int argc, char *argv[])
164164
g_option_context_free (context);
165165

166166
#ifndef __linux__
167-
/* the g-s-d plugin should only call this helper on linux */
168-
g_critical ("Attempting to call gsb-backlight-helper on non-Linux");
167+
/* the c-s-d plugin should only call this helper on linux */
168+
g_critical ("Attempting to call csd-backlight-helper on non-Linux");
169169
g_assert_not_reached ();
170170
#endif
171171

plugins/power/csd-power-manager.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4201,7 +4201,7 @@ on_rr_screen_acquired (GObject *object,
42014201
manager->priv->inhibit_lid_switch_enabled =
42024202
g_settings_get_boolean (manager->priv->settings, "inhibit-lid-switch");
42034203

4204-
/* Disable logind's lid handling while g-s-d is active */
4204+
/* Disable logind's lid handling while c-s-d is active */
42054205
inhibit_lid_switch (manager);
42064206

42074207
manager->priv->up_client = up_client_new ();

0 commit comments

Comments
 (0)