aboutsummaryrefslogtreecommitdiff
path: root/src/update_check.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/update_check.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/update_check.c')
-rw-r--r--src/update_check.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/update_check.c b/src/update_check.c
index af9fdfe7..3214c502 100644
--- a/src/update_check.c
+++ b/src/update_check.c
@@ -21,10 +21,13 @@
# include "config.h"
#endif
+#ifdef USE_UPDATE_CHECK
+
#include "defs.h"
#include <glib.h>
#include <glib/gi18n.h>
+
#include <gdk/gdkkeysyms.h>
#include <gtk/gtk.h>
@@ -279,3 +282,5 @@ void update_check(gboolean show_dialog_always)
g_child_watch_add(pid, update_check_cb, (gpointer)show_dialog_always);
}
+
+#endif /* USE_UPDATE_CHECK */