aboutsummaryrefslogtreecommitdiff
path: root/src/brightness.c
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2015-05-20 13:38:31 -0500
committerCharles Kerr <charles.kerr@canonical.com>2015-05-20 13:38:31 -0500
commit05d60820029f19e808f1dc8f255d516a4b520db6 (patch)
tree213af3b612126aa61098b708938566596b789ab8 /src/brightness.c
parentf4c8e264fc59d9dca502f0a1d099b95c1c2de7cf (diff)
downloadayatana-indicator-power-05d60820029f19e808f1dc8f255d516a4b520db6.tar.gz
ayatana-indicator-power-05d60820029f19e808f1dc8f255d516a4b520db6.tar.bz2
ayatana-indicator-power-05d60820029f19e808f1dc8f255d516a4b520db6.zip
fix the get-brightness-params return signature now that it's wrapped in a proxy
Diffstat (limited to 'src/brightness.c')
-rw-r--r--src/brightness.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/brightness.c b/src/brightness.c
index 9a5303e..277d5f4 100644
--- a/src/brightness.c
+++ b/src/brightness.c
@@ -226,11 +226,11 @@ on_powerd_brightness_params_ready(GObject * oproxy,
g_message("%s", g_variant_print(v, TRUE));
p->have_powerd_params = TRUE;
- g_variant_get(v, "((iiiib))", &p->powerd_dim,
- &p->powerd_min,
- &p->powerd_max,
- &p->powerd_default_value,
- &p->powerd_ab_supported);
+ g_variant_get(v, "(iiiib)", &p->powerd_dim,
+ &p->powerd_min,
+ &p->powerd_max,
+ &p->powerd_default_value,
+ &p->powerd_ab_supported);
g_debug("powerd brightness settings: dim=%d, min=%d, max=%d, default=%d, ab_supported=%d",
p->powerd_dim,
p->powerd_min,