diff options
author | rbuj <[email protected]> | 2021-10-14 12:31:39 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2022-03-11 19:42:50 +0100 |
commit | 2a42090ca95cb39dc42f0de0cc3e56b244777446 (patch) | |
tree | 4162bba3f4a5bee4d65c525b19ddfd3602daf443 /src | |
parent | da9a42864438b1c704b67f37e020eb65c64a5c76 (diff) | |
download | mate-power-manager-2a42090ca95cb39dc42f0de0cc3e56b244777446.tar.bz2 mate-power-manager-2a42090ca95cb39dc42f0de0cc3e56b244777446.tar.xz |
gpm-backlight: unused function 'gpm_common_sum_scale'
Diffstat (limited to 'src')
-rw-r--r-- | src/gpm-backlight.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/gpm-backlight.c b/src/gpm-backlight.c index fd69465..cf9b06b 100644 --- a/src/gpm-backlight.c +++ b/src/gpm-backlight.c @@ -255,19 +255,6 @@ gpm_backlight_dialog_show (GpmBacklight *backlight) } /** - * gpm_common_sum_scale: - * - * Finds the average between value1 and value2 set on a scale factor - **/ -static inline gfloat -gpm_common_sum_scale (gfloat value1, gfloat value2, gfloat factor) -{ - gfloat diff; - diff = value1 - value2; - return value2 + (diff * factor); -} - -/** * gpm_backlight_brightness_evaluate_and_set: **/ static gboolean |