diff options
author | William Hua <william.hua@canonical.com> | 2013-08-08 14:23:13 -0400 |
---|---|---|
committer | William Hua <william.hua@canonical.com> | 2013-08-08 14:23:13 -0400 |
commit | 170596ad221d7ea1701d2a2215ff912bddbecdfa (patch) | |
tree | 5f63e03414faf5d8fdb873b7b74908b32af84adb | |
parent | 49783d7014a6f5342ec77f56e81aeab6954bc2ec (diff) | |
download | ayatana-indicator-keyboard-170596ad221d7ea1701d2a2215ff912bddbecdfa.tar.gz ayatana-indicator-keyboard-170596ad221d7ea1701d2a2215ff912bddbecdfa.tar.bz2 ayatana-indicator-keyboard-170596ad221d7ea1701d2a2215ff912bddbecdfa.zip |
Fix a couple more potential races.
-rw-r--r-- | po/indicator-keyboard.pot | 2 | ||||
-rw-r--r-- | tests/main.vala | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/po/indicator-keyboard.pot b/po/indicator-keyboard.pot index 4433c98f..88197c24 100644 --- a/po/indicator-keyboard.pot +++ b/po/indicator-keyboard.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-08-07 10:44-0400\n" +"POT-Creation-Date: 2013-08-08 14:22-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" diff --git a/tests/main.vala b/tests/main.vala index 09d612f1..c3997520 100644 --- a/tests/main.vala +++ b/tests/main.vala @@ -319,6 +319,10 @@ static void test_migration (void *data) { return; } + var loop = new MainLoop (null, false); + Timeout.add_seconds (TIMEOUT_S, () => { loop.quit (); return false; }); + loop.run (); + try { string sources; Process.spawn_command_line_sync ("gsettings get org.gnome.desktop.input-sources sources", out sources); @@ -381,6 +385,10 @@ static void test_no_migration (void *data) { return; } + var loop = new MainLoop (null, false); + Timeout.add_seconds (TIMEOUT_S, () => { loop.quit (); return false; }); + loop.run (); + try { string sources; Process.spawn_command_line_sync ("gsettings get org.gnome.desktop.input-sources sources", out sources); |