Add _g_io_module_get_default(), use to simplify other *_get_default()s
authorDan Winship <danw@gnome.org>
Tue, 21 Jun 2011 22:21:27 +0000 (18:21 -0400)
committerDan Winship <danw@gnome.org>
Tue, 4 Oct 2011 17:20:34 +0000 (13:20 -0400)
commit1481b7bca3c24149a2970758bc8762e1318f361e
treef2c9a026703eb65ea4ec724a385d4bff483a4f20
parent38d21f6d8a761cf211c0e0ca21c394b4824d13f2
Add _g_io_module_get_default(), use to simplify other *_get_default()s

Add _g_io_module_get_default(), which implements the
figure-out-the-best-available-module-that-is-actually-usable logic,
and use that to simplify g_proxy_resolver_get_default(),
g_settings_backend_get_default(), g_tls_backend_get_default(), and
g_vfs_get_default().

https://bugzilla.gnome.org/show_bug.cgi?id=620932
gio/giomodule-priv.h
gio/giomodule.c
gio/gproxyresolver.c
gio/gsettingsbackend.c
gio/gtlsbackend.c
gio/gvfs.c