aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/timezone-timedated.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/timezone-timedated.cpp b/src/timezone-timedated.cpp
index 778697a..bfe38f4 100644
--- a/src/timezone-timedated.cpp
+++ b/src/timezone-timedated.cpp
@@ -195,6 +195,8 @@ out:
/* Incase something breaks, we don't want to hang */
m_timeout_id = g_timeout_add(500, quit_loop, this);
+
+ /* We need to block until we've read the tz once */
g_main_loop_run(m_loop);
}