aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIain Lane <iain.lane@canonical.com>2015-09-01 11:10:09 +0100
committerIain Lane <iain.lane@canonical.com>2015-09-01 11:10:09 +0100
commit1da27f9088a759e78e88a390583d8646f2a82656 (patch)
tree15844d079dadb893173b91f4df3c3fc8bc48b4e6 /src
parenta3937830bf656d5a8e2f368757b947cef0c8b1de (diff)
downloadayatana-indicator-datetime-1da27f9088a759e78e88a390583d8646f2a82656.tar.gz
ayatana-indicator-datetime-1da27f9088a759e78e88a390583d8646f2a82656.tar.bz2
ayatana-indicator-datetime-1da27f9088a759e78e88a390583d8646f2a82656.zip
Add some comments
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);
}