aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorWilliam Hua <william.hua@canonical.com>2013-06-27 01:04:55 -0400
committerWilliam Hua <william.hua@canonical.com>2013-06-27 01:04:55 -0400
commitae6ef44de8fabb6728b66d95147d99f0a0d13880 (patch)
tree4070de7c98799eab59c2715653cd7d06357300d1 /lib
parentb68e1b1cb9063a081dc301d17a64c8bc1e19d7d2 (diff)
downloadayatana-indicator-keyboard-ae6ef44de8fabb6728b66d95147d99f0a0d13880.tar.gz
ayatana-indicator-keyboard-ae6ef44de8fabb6728b66d95147d99f0a0d13880.tar.bz2
ayatana-indicator-keyboard-ae6ef44de8fabb6728b66d95147d99f0a0d13880.zip
Continued tests work-in-progress.
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;
}