GNOME Bugzilla – Bug 620641
gsettings construction is sync
Last modified: 2010-06-07 13:33:51 UTC
As I found out yesterday on IRC, g_settings_new() may block: Jun 03 18:48:06 desrt g_setings_new() blocks Jun 03 18:48:39 desrt am thinking of adding g_settings_new_async This means there should be a g_settings_new_async() + _finish() so one can construct it asynchronously. Also, g_settings_new should perhaps be renamed to g_settings_new_sync() to make this clear, and it definitely should be documented that this call may block.
Also: g_settings_get_child calls g_settings_new(), so it too needs async + finish variant, and maybe a rename to _get_child_sync().
*** This bug has been marked as a duplicate of bug 597835 ***