[dia] No more GLIB_CHECK_VERSION(2,14)
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] No more GLIB_CHECK_VERSION(2,14)
- Date: Sun, 27 Mar 2011 17:07:42 +0000 (UTC)
commit 1a7ec50491fe1c16bfffe25f982e6875e005e92d
Author: Hans Breuer <hans breuer org>
Date: Sun Mar 27 18:06:28 2011 +0200
No more GLIB_CHECK_VERSION(2,14)
Lowest support GLib version is 2.20 atm.
app/app_procs.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/app/app_procs.c b/app/app_procs.c
index b1b515d..99df36d 100644
--- a/app/app_procs.c
+++ b/app/app_procs.c
@@ -949,11 +949,7 @@ app_init (int argc, char **argv)
recent_file_history_init();
/* Set up autosave to check every 5 minutes */
-#if GLIB_CHECK_VERSION(2,14,0)
g_timeout_add_seconds(5*60, autosave_check_autosave, NULL);
-#else
- g_timeout_add(5*60*1000, autosave_check_autosave, NULL);
-#endif
#if 0 /* do we really open these automatically in the next session? */
persistence_register_window_create("diagram_tree",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]