diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.am | 3 | ||||
-rw-r--r-- | lib/main.vala | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index ae9dec00..16b8807c 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -2,8 +2,7 @@ libexec_PROGRAMS = indicator-keyboard-service AM_CFLAGS = -w -DGNOME_DESKTOP_USE_UNSTABLE_API AM_LDFLAGS = -lm -AM_VALAFLAGS = --enable-experimental-non-null \ - --metadatadir $(top_srcdir)/deps \ +AM_VALAFLAGS = --metadatadir $(top_srcdir)/deps \ --vapidir $(top_srcdir)/deps indicator_keyboard_service_SOURCES = main.vala \ diff --git a/lib/main.vala b/lib/main.vala index 9f007170..d2ea8c79 100644 --- a/lib/main.vala +++ b/lib/main.vala @@ -811,7 +811,7 @@ public class Indicator.Keyboard.Service : Object { if (xkb_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 () % xkb_length; /* Make offset positive modulo xkb_length. */ |