[gnome-settings-daemon] media-keys: Fix brightness for new power API
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] media-keys: Fix brightness for new power API
- Date: Fri, 5 Jul 2013 07:20:37 +0000 (UTC)
commit 5f188fec9014efa7182ecdbbee03154962b4c5aa
Author: Bastien Nocera <hadess hadess net>
Date: Fri Jul 5 09:17:37 2013 +0200
media-keys: Fix brightness for new power API
https://bugzilla.gnome.org/show_bug.cgi?id=703623
plugins/media-keys/gsd-media-keys-manager.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/media-keys/gsd-media-keys-manager.c b/plugins/media-keys/gsd-media-keys-manager.c
index 38e42a3..8e81d89 100644
--- a/plugins/media-keys/gsd-media-keys-manager.c
+++ b/plugins/media-keys/gsd-media-keys-manager.c
@@ -1851,7 +1851,7 @@ update_screen_cb (GObject *source_object,
}
/* update the dialog with the new value */
- g_variant_get (new_percentage, "(i)", &percentage);
+ g_variant_get (new_percentage, "(u)", &percentage);
show_osd (manager, "display-brightness-symbolic", NULL, percentage);
g_variant_unref (new_percentage);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]