r23311 - gnucash/trunk/src/gnome-utils - Drop check for glib >= 2.14, glib >= 2.28 is already required

Geert Janssens gjanssens at code.gnucash.org
Tue Oct 22 11:44:11 EDT 2013


Author: gjanssens
Date: 2013-10-22 11:44:10 -0400 (Tue, 22 Oct 2013)
New Revision: 23311
Trac: http://svn.gnucash.org/trac/changeset/23311

Modified:
   gnucash/trunk/src/gnome-utils/gnc-autosave.c
Log:
Drop check for glib >= 2.14, glib >= 2.28 is already required

Modified: gnucash/trunk/src/gnome-utils/gnc-autosave.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-autosave.c	2013-10-22 10:42:33 UTC (rev 23310)
+++ gnucash/trunk/src/gnome-utils/gnc-autosave.c	2013-10-22 15:44:10 UTC (rev 23311)
@@ -262,15 +262,8 @@
         /* Add a new timer (timeout) that runs until the next autosave
            timeout. */
         guint autosave_source_id =
-#if GLIB_CHECK_VERSION(2, 14, 0)
-            /* g_timeout_add_seconds is much more suitable here, but is new in
-            	 glib-2.14. */
             g_timeout_add_seconds(interval_mins * 60,
                                   autosave_timeout_cb, book);
-#else
-            g_timeout_add(interval_mins * 60 * 1000,
-                          autosave_timeout_cb, book);
-#endif
         g_debug("Adding new auto-save timer with id %d\n", autosave_source_id);
 
         /* Save the event source id for a potential removal, and also



More information about the gnucash-changes mailing list