diff options
-rw-r--r-- | data/Makefile.am | 3 | ||||
-rw-r--r-- | lib/Makefile.am | 3 | ||||
-rw-r--r-- | lib/main.vala | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/data/Makefile.am b/data/Makefile.am index 03c377c7..7befb94e 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -2,8 +2,7 @@ noinst_PROGRAMS = indicator-keyboard-icon-generator 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_icon_generator_SOURCES = main.vala \ 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. */ |