summaryrefslogtreecommitdiffstats
path: root/src/inkscape.cpp
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-05-19 04:43:01 +0000
committerJon A. Cruz <jon@joncruz.org>2011-05-19 04:43:01 +0000
commita622000f4859173bb7ac484b86cefe9fa4f169e4 (patch)
tree67346f20e163a5ff4fec535627547454369ccaa1 /src/inkscape.cpp
parentAdding inkscape:label parameter to guidelines so that our guidelanes can disp... (diff)
downloadinkscape-a622000f4859173bb7ac484b86cefe9fa4f169e4.tar.gz
inkscape-a622000f4859173bb7ac484b86cefe9fa4f169e4.zip
Revert version bump so win devlibs can catch up.
(bzr r10210)
Diffstat (limited to 'src/inkscape.cpp')
-rw-r--r--src/inkscape.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inkscape.cpp b/src/inkscape.cpp
index 1b0893c0b..91e3b0c5f 100644
--- a/src/inkscape.cpp
+++ b/src/inkscape.cpp
@@ -442,7 +442,11 @@ void inkscape_autosave_init()
// Turn on autosave
guint32 timeout = prefs->getInt("/options/autosave/interval", 10) * 60;
// g_debug("options.autosave.interval = %d", prefs->getInt("/options/autosave/interval", 10));
+#if GLIB_CHECK_VERSION(2,14,0)
autosave_timeout_id = g_timeout_add_seconds(timeout, inkscape_autosave, NULL);
+#else
+ autosave_timeout_id = g_timeout_add(timeout * 1000, inkscape_autosave, NULL);
+#endif
}
}