aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am4
-rw-r--r--lib/main.vala2
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 1d88add2..3fca1215 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -1,11 +1,11 @@
+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 \
--vapidir $(top_srcdir)/deps
-libexec_PROGRAMS = indicator-keyboard-service
-
indicator_keyboard_service_SOURCES = main.vala \
common.vala
indicator_keyboard_service_VALAFLAGS = $(AM_VALAFLAGS) \
diff --git a/lib/main.vala b/lib/main.vala
index 6df1b069..7e2a6f32 100644
--- a/lib/main.vala
+++ b/lib/main.vala
@@ -711,7 +711,7 @@ public class Indicator.Keyboard.Service : Object {
}
[DBus (visible = false)]
- private void handle_name_lost (DBusConnection connection, string name) {
+ private void handle_name_lost (DBusConnection? connection, string name) {
((!) this.loop).quit ();
this.loop = null;
}