diff options
author | Milan Crha <mcrha@redhat.com> | 2012-11-06 23:20:46 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-11-06 23:21:37 +0800 |
commit | 704b78d23bf8d707707411608a3453250f2637a1 (patch) | |
tree | 6bea89936534973c9b467503d198245f5035bc77 /mail/e-mail-autoconfig.c | |
parent | b6fddaaa0efb8013c526f00926830b9cdcbe0d60 (diff) | |
download | gsoc2013-evolution-704b78d23bf8d707707411608a3453250f2637a1.tar.gz gsoc2013-evolution-704b78d23bf8d707707411608a3453250f2637a1.tar.zst gsoc2013-evolution-704b78d23bf8d707707411608a3453250f2637a1.zip |
Replace deprecated GLib symbols (as of GLib 2.34.x)
Diffstat (limited to 'mail/e-mail-autoconfig.c')
-rw-r--r-- | mail/e-mail-autoconfig.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/e-mail-autoconfig.c b/mail/e-mail-autoconfig.c index 65d735394a..5fa0fe23a6 100644 --- a/mail/e-mail-autoconfig.c +++ b/mail/e-mail-autoconfig.c @@ -289,14 +289,16 @@ mail_autoconfig_resolve_authority (const gchar *domain, * So use a reference count on the thread closure and always * let the thread run to completion even if we're not around * any longer to pick up the result. */ - resolver_thread = g_thread_create ( + resolver_thread = g_thread_try_new (NULL, mail_autoconfig_resolver_thread, resolver_closure_ref (closure), - FALSE /* not joinable */, error); + error); if (resolver_thread == NULL) return FALSE; + g_thread_unref (resolver_thread); + if (G_IS_CANCELLABLE (cancellable)) cancel_id = g_cancellable_connect ( cancellable, |