GNOME Bugzilla – Bug 573921
Please consider using g_timeout_add_seconds to reduce wakeups
Last modified: 2009-04-11 14:27:43 UTC
From https://wiki.ubuntu.com/SavingTheWorld , two versions of a patch to change the autosave timer to use g_timeout_add_seconds(). This patch does not change dynamic_refresh.c line 92 as I belive that uses ms resolution (or finer than 1s anyway); is this correct?
Created attachment 129941 [details] [review] Patch for when glib 2.6 only is required (as at present) Version of the patch that checks for glib 2.14
Created attachment 129942 [details] [review] Patch that makes dia require glib 2.14 Alternative patch with no #ifdef but ups the glib requirement to 2.14
Thanks, applied the first version: 2009-04-11 Hans Breuer <hans@breuer.org> * app/app_procs.c : patch from Arunan Balasubramaniam, bug #573921 to to reduce wakeups prefer g_timeout_add_seconds() over g_timeout_add()