aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2014-06-18 09:23:59 -0400
committerWilliam Hua <william.hua@canonical.com>2014-06-18 09:23:59 -0400
commitbe3e3e3899e060bd48318ae3c425fb6ae06d8024 (patch)
treeced931ec9a2cb0a42d421c5a7bfd921eab73a900 /lib
parent84956ac588ba5f5f464c97c2255596674cecda80 (diff)
downloadayatana-indicator-keyboard-be3e3e3899e060bd48318ae3c425fb6ae06d8024.tar.gz
ayatana-indicator-keyboard-be3e3e3899e060bd48318ae3c425fb6ae06d8024.tar.bz2
ayatana-indicator-keyboard-be3e3e3899e060bd48318ae3c425fb6ae06d8024.zip
Use get_state () instead of state. Fixes FTBFS.
Diffstat (limited to 'lib')
-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. */