now min version of glib is 2.20, remove all irrelevent conditionals
[claws.git] / src / inc.c
index c8c68aca21a4e04ca1e1b55a783e33c1f3054239..ebf2cc380d5b01b9eedb76807bea26c5c734a3f0 100644 (file)
--- a/src/inc.c
+++ b/src/inc.c
@@ -1458,14 +1458,12 @@ static void inc_autocheck_timer_set_interval(guint interval)
           the common preferences */
        if (prefs_common.autochk_newmail && autocheck_data
            && prefs_common.work_offline == FALSE) {
-#if GLIB_CHECK_VERSION(2,14,0)
                if (interval % 1000 == 0)
                        autocheck_timer =
                                g_timeout_add_seconds(interval/1000, inc_autocheck_func, autocheck_data);
                else
-#endif
-               autocheck_timer = g_timeout_add
-                       (interval, inc_autocheck_func, autocheck_data);
+                       autocheck_timer = g_timeout_add
+                               (interval, inc_autocheck_func, autocheck_data);
                debug_print("added timer = %d\n", autocheck_timer);
        }
 }