diff options
author | Dan Winship <danw@gnome.org> | 2013-04-03 11:27:59 -0400 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2013-04-03 11:59:55 -0400 |
commit | b376dd82ad9beba54e85911a39f41ba8cea08498 (patch) | |
tree | 2daeaf98b2a088d8a43f7154ed25e74e345e0916 | |
parent | 6666b3cd99a4931bd28b622918c121f92cf33b52 (diff) | |
download | libsoup-b376dd82ad9beba54e85911a39f41ba8cea08498.tar.gz libsoup-b376dd82ad9beba54e85911a39f41ba8cea08498.tar.bz2 libsoup-b376dd82ad9beba54e85911a39f41ba8cea08498.zip |
soup-connection: fix SoupProxyResolverDefault breakage
It got broken at the last minute when adding
SoupSession:proxy-resolver support.
https://bugzilla.gnome.org/show_bug.cgi?id=697028
-rw-r--r-- | libsoup/soup-connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libsoup/soup-connection.c b/libsoup/soup-connection.c index bcc5af48..fbddfea3 100644 --- a/libsoup/soup-connection.c +++ b/libsoup/soup-connection.c @@ -133,7 +133,8 @@ soup_connection_set_property (GObject *object, guint prop_id, priv->soup_proxy_resolver = g_object_ref (proxy_resolver); break; case PROP_G_PROXY_RESOLVER: - priv->g_proxy_resolver = g_value_dup_object (value); + if (g_value_get_object (value)) + priv->g_proxy_resolver = g_value_dup_object (value); break; case PROP_SSL: priv->ssl = g_value_get_boolean (value); |