[gnome-control-center/wip/hadess/remove-wireless-power-switches: 8/9] power: Remove unused CcBrightnessScale




commit ea117f4516c3bfd204b32362ab26ebb906d4df8f
Author: Bastien Nocera <hadess hadess net>
Date:   Mon Jul 26 11:34:41 2021 +0200

    power: Remove unused CcBrightnessScale

 panels/power/cc-brightness-scale.c | 281 -------------------------------------
 panels/power/cc-brightness-scale.h |  38 -----
 panels/power/meson.build           |   5 -
 3 files changed, 324 deletions(-)
---
diff --git a/panels/power/meson.build b/panels/power/meson.build
index 9066d24bd..0e3ea1d56 100644
--- a/panels/power/meson.build
+++ b/panels/power/meson.build
@@ -19,16 +19,11 @@ i18n.merge_file(
 
 sources = files(
   'cc-battery-row.c',
-  'cc-brightness-scale.c',
   'cc-power-panel.c',
   'cc-power-profile-row.c',
   'cc-power-profile-info-row.c'
 )
 
-sources += gnome.mkenums_simple(
-  'cc-brightness-scale-types',
-  sources: ['cc-brightness-scale.h'])
-
 resource_data = files(
   'cc-battery-row.ui',
   'cc-power-panel.ui'


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]