From 66693b52961aa9197c54c508223ec12c1156a691 Mon Sep 17 00:00:00 2001 From: William Hua Date: Tue, 17 Jun 2014 00:31:11 -0400 Subject: Disable experimental non-null. --- lib/Makefile.am | 3 +-- lib/main.vala | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'lib') 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. */ -- cgit v1.2.3