summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
-rw-r--r--src/gpm-kbd-backlight.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index f4bd119..5a3a0b7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,6 +1,6 @@
AC_PREREQ(2.63)
-AC_INIT([mate-power-manager], [1.6.0], [http://www.mate-desktop.org/])
+AC_INIT([mate-power-manager], [1.6.1], [http://www.mate-desktop.org/])
AC_CONFIG_SRCDIR(src)
AM_INIT_AUTOMAKE
AC_CONFIG_HEADERS([config.h])
diff --git a/src/gpm-kbd-backlight.c b/src/gpm-kbd-backlight.c
index b7aa4a4..72c4f96 100644
--- a/src/gpm-kbd-backlight.c
+++ b/src/gpm-kbd-backlight.c
@@ -756,7 +756,8 @@ gpm_kbd_backlight_init (GpmKbdBacklight *backlight)
NULL,
&error);
if (u_brightness == NULL) {
- g_warning ("Failed to get brightness: %s", error->message);
+ if (error->domain != G_DBUS_ERROR || error->code != G_DBUS_ERROR_UNKNOWN_METHOD)
+ g_warning ("Failed to get brightness: %s", error->message);
g_error_free (error);
goto err;
}