summaryrefslogtreecommitdiff
path: root/modules/gtk3/caribou-gtk-module.vala
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gtk3/caribou-gtk-module.vala')
-rw-r--r--modules/gtk3/caribou-gtk-module.vala8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/gtk3/caribou-gtk-module.vala b/modules/gtk3/caribou-gtk-module.vala
index 540e8fc..8be149c 100644
--- a/modules/gtk3/caribou-gtk-module.vala
+++ b/modules/gtk3/caribou-gtk-module.vala
@@ -19,14 +19,14 @@ namespace Caribou {
keyboard = Bus.get_proxy_sync (BusType.SESSION,
"org.gnome.Caribou.Keyboard",
"/org/gnome/Caribou/Keyboard");
+ add_tracker ();
+
+ GLib.Timeout.add (60, () => { add_tracker ();
+ return true; });
} catch (Error e) {
stderr.printf ("%s\n", e.message);
}
- add_tracker ();
-
- GLib.Timeout.add (60, () => { add_tracker ();
- return true; });
}
private void add_tracker () {