mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
GSocketClient: add missing NULL to g_object_set() call
This commit is contained in:
parent
e4695bd6f5
commit
c78d0e9ac4
@ -1028,8 +1028,9 @@ g_socket_client_connect (GSocketClient *client,
|
||||
if (client->priv->proxy_resolver &&
|
||||
G_IS_PROXY_ADDRESS_ENUMERATOR (enumerator))
|
||||
{
|
||||
g_object_set (G_OBJECT (enumerator), "proxy-resolver",
|
||||
client->priv->proxy_resolver);
|
||||
g_object_set (G_OBJECT (enumerator),
|
||||
"proxy-resolver", client->priv->proxy_resolver,
|
||||
NULL);
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -1705,8 +1706,9 @@ g_socket_client_connect_async (GSocketClient *client,
|
||||
if (client->priv->proxy_resolver &&
|
||||
G_IS_PROXY_ADDRESS_ENUMERATOR (data->enumerator))
|
||||
{
|
||||
g_object_set (G_OBJECT (data->enumerator), "proxy-resolver",
|
||||
client->priv->proxy_resolver);
|
||||
g_object_set (G_OBJECT (data->enumerator),
|
||||
"proxy-resolver", client->priv->proxy_resolver,
|
||||
NULL);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user