aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2014-06-20 09:58:37 +0000
committerCI bot <ps-jenkins@lists.canonical.com>2014-06-20 09:58:37 +0000
commit422aa8232d3de7f03e64c3f9c0ccf064328c6f84 (patch)
treef6f9dd3100c7f9eb2aa09b7ae464fbaa18bbe7b7
parent867013a6f1e04f9db1e5bdd6719d9a545fdd2d27 (diff)
parentbe3e3e3899e060bd48318ae3c425fb6ae06d8024 (diff)
downloadayatana-indicator-keyboard-422aa8232d3de7f03e64c3f9c0ccf064328c6f84.tar.gz
ayatana-indicator-keyboard-422aa8232d3de7f03e64c3f9c0ccf064328c6f84.tar.bz2
ayatana-indicator-keyboard-422aa8232d3de7f03e64c3f9c0ccf064328c6f84.zip
Use get_state () on GLib.Action instead of the state member. Fixes FTBFS.
-rw-r--r--lib/main.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/main.vala b/lib/main.vala
index 8d39d757..1cb3896c 100644
--- a/lib/main.vala
+++ b/lib/main.vala
@@ -799,7 +799,7 @@ public class Indicator.Keyboard.Service : Object {
if (non_ibus_length > 1) {
var active_action = get_active_action ();
- var active = active_action.state.get_uint32 ();
+ var active = active_action.get_state ().get_uint32 ();
var offset = -((!) parameter).get_int32 () % non_ibus_length;
/* Make offset positive modulo non_ibus_length. */