diff options
author | V3n3RiX <venerix@gmail.com> | 2015-08-22 14:23:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@gmail.com> | 2015-08-22 14:23:11 +0100 |
commit | d9090b8f324fa89122020f6fce263e4b48a97ba8 (patch) | |
tree | 7100afbf2a88915c3d051ee3ec75e2a910534eff /mate-extra/mate-power-manager/files/mate-power-manager-1.8.0-r1-avoid-levels-is-0-warning.patch | |
parent | 7e5de0e05a17618bb7c3e8ab163250a5e72486f7 (diff) | |
parent | a12700662078e1f072a53efa47337aa54af8c6f2 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mate-extra/mate-power-manager/files/mate-power-manager-1.8.0-r1-avoid-levels-is-0-warning.patch')
-rw-r--r-- | mate-extra/mate-power-manager/files/mate-power-manager-1.8.0-r1-avoid-levels-is-0-warning.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/mate-extra/mate-power-manager/files/mate-power-manager-1.8.0-r1-avoid-levels-is-0-warning.patch b/mate-extra/mate-power-manager/files/mate-power-manager-1.8.0-r1-avoid-levels-is-0-warning.patch deleted file mode 100644 index 9bccb5c9..00000000 --- a/mate-extra/mate-power-manager/files/mate-power-manager-1.8.0-r1-avoid-levels-is-0-warning.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/src/gpm-kbd-backlight.c b/src/gpm-kbd-backlight.c -index 0ac6801..a439e94 100644 ---- a/src/gpm-kbd-backlight.c -+++ b/src/gpm-kbd-backlight.c -@@ -113,6 +113,9 @@ gpm_kbd_backlight_set (GpmKbdBacklight *backlight, - guint goal; - - g_return_val_if_fail (GPM_IS_KBD_BACKLIGHT (backlight), FALSE); -+ /* avoid warnings if no keyboard brightness is available */ -+ if (backlight->priv->max_brightness < 1) -+ return FALSE; - /* if we're setting the same we are, don't bother */ - //g_return_val_if_fail (backlight->priv->brightness_percent != percentage, FALSE); - - |