aboutsummaryrefslogtreecommitdiff
path: root/src/update_check.c
diff options
context:
space:
mode:
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 */