gconf: increase periodic cleanup interval
[openembedded.git] / recipes / gnome / files / gconf_increase_timeout.patch
diff --git a/recipes/gnome/files/gconf_increase_timeout.patch b/recipes/gnome/files/gconf_increase_timeout.patch
new file mode 100644 (file)
index 0000000..fb6226e
--- /dev/null
@@ -0,0 +1,12 @@
+diff -ur GConf-2.28.0_/gconf/gconfd.c GConf-2.28.0/gconf/gconfd.c
+--- GConf-2.28.0_/gconf/gconfd.c       2009-08-19 18:35:32.000000000 +0300
++++ GConf-2.28.0/gconf/gconfd.c        2016-05-14 02:10:05.314832924 +0300
+@@ -1042,7 +1042,7 @@
+   if (main_loops == NULL)
+     {
+-      gulong timeout_len = 60*0.5; /* 60 s/min * .5 min */
++      gulong timeout_len = 60*5; /* 5 min */
+       
+       g_assert(timeout_id == 0);
+       timeout_id = g_timeout_add_seconds (timeout_len,