aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/cal-config-caldav/e-caldav-chooser.c4
-rw-r--r--modules/gravatar/e-gravatar-photo-source.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/cal-config-caldav/e-caldav-chooser.c b/modules/cal-config-caldav/e-caldav-chooser.c
index 99017b8120..ee18411329 100644
--- a/modules/cal-config-caldav/e-caldav-chooser.c
+++ b/modules/cal-config-caldav/e-caldav-chooser.c
@@ -1307,7 +1307,7 @@ caldav_chooser_constructed (GObject *object)
G_OBJECT_CLASS (e_caldav_chooser_parent_class)->constructed (object);
chooser = E_CALDAV_CHOOSER (object);
- session = soup_session_async_new ();
+ session = soup_session_new ();
caldav_chooser_configure_session (chooser, session);
chooser->priv->session = session;
@@ -1390,7 +1390,7 @@ caldav_chooser_try_password_sync (ESourceAuthenticator *auth,
/* Create our own SoupSession so we
* can try the password synchronously. */
- session = soup_session_sync_new ();
+ session = soup_session_new ();
caldav_chooser_configure_session (chooser, session);
source = e_caldav_chooser_get_source (chooser);
diff --git a/modules/gravatar/e-gravatar-photo-source.c b/modules/gravatar/e-gravatar-photo-source.c
index b41c689712..18a49e029f 100644
--- a/modules/gravatar/e-gravatar-photo-source.c
+++ b/modules/gravatar/e-gravatar-photo-source.c
@@ -81,7 +81,7 @@ gravatar_photo_source_get_photo_thread (GSimpleAsyncResult *simple,
g_debug ("Requesting avatar for %s", async_context->email_address);
g_debug ("%s", uri);
- session = soup_session_sync_new ();
+ session = soup_session_new ();
proxy = e_proxy_new ();
e_proxy_setup_proxy (proxy);