]> git.street.me.uk Git - andy/viking.git/commitdiff
Allow some redirects for routing web sites by default.
authorRob Norris <rw_norris@hotmail.com>
Sat, 14 Sep 2013 09:36:31 +0000 (10:36 +0100)
committerRob Norris <rw_norris@hotmail.com>
Sat, 14 Sep 2013 09:36:31 +0000 (10:36 +0100)
src/vikroutingwebengine.c

index 71eae7173f9008fd2fe3ce25ec3bc00eb6d75268..8c3226bb518ce8e7acdc579a875a3404a0a3f996 100644 (file)
@@ -315,7 +315,7 @@ static void vik_routing_web_engine_class_init ( VikRoutingWebEngineClass *klass
                              "Specifies the number of retries to follow a redirect while downloading a page",
                              0  /* minimum value */,
                              G_MAXLONG /* maximum value */,
-                             0  /* default value */,
+                             2  /* default value */,
                              G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE);
   g_object_class_install_property (object_class, PROP_FOLLOW_LOCATION, pspec);