aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-12-28 05:00:53 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2009-12-28 05:00:53 +0000
commitf4ab0f022c847485d347d1ce8cd2ffcde3497f56 (patch)
treea09345c7580cdeb102f97a6510a01e3b46132081 /src/main.c
parentf0ded112875ffa7337d442bd05abdd97170d8dc1 (diff)
added configure option '--disable-updatecheck' which disables the update check feature.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2407 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index eb8cd860..ad698d8b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -352,8 +352,11 @@ int main(int argc, char *argv[])
g_signal_emit_by_name(syl_app, "init-done");
remote_command_exec();
+
+#if USE_UPDATE_CHECK
if (prefs_common.auto_update_check)
update_check(FALSE);
+#endif
gtk_main();
#if USE_THREADS