summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gpm-backlight.c13
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