mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-07 02:59:39 +02:00
gsimpleproxyresolver: default_proxy should be consistently nullable
Currently it's nullable in g_simple_proxy_resolver_new(), but not in g_simple_proxy_resolver_set_default_proxy() nor the property. Fix these.
This commit is contained in:
parent
4667f5980a
commit
8a1f087a31
@ -417,7 +417,7 @@ g_simple_proxy_resolver_class_init (GSimpleProxyResolverClass *resolver_class)
|
|||||||
object_class->finalize = g_simple_proxy_resolver_finalize;
|
object_class->finalize = g_simple_proxy_resolver_finalize;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GSimpleProxyResolver:default-proxy:
|
* GSimpleProxyResolver:default-proxy: (nullable)
|
||||||
*
|
*
|
||||||
* The default proxy URI that will be used for any URI that doesn't
|
* The default proxy URI that will be used for any URI that doesn't
|
||||||
* match #GSimpleProxyResolver:ignore-hosts, and doesn't match any
|
* match #GSimpleProxyResolver:ignore-hosts, and doesn't match any
|
||||||
@ -520,7 +520,7 @@ g_simple_proxy_resolver_new (const gchar *default_proxy,
|
|||||||
/**
|
/**
|
||||||
* g_simple_proxy_resolver_set_default_proxy:
|
* g_simple_proxy_resolver_set_default_proxy:
|
||||||
* @resolver: a #GSimpleProxyResolver
|
* @resolver: a #GSimpleProxyResolver
|
||||||
* @default_proxy: the default proxy to use
|
* @default_proxy: (nullable): the default proxy to use
|
||||||
*
|
*
|
||||||
* Sets the default proxy on @resolver, to be used for any URIs that
|
* Sets the default proxy on @resolver, to be used for any URIs that
|
||||||
* don't match #GSimpleProxyResolver:ignore-hosts or a proxy set
|
* don't match #GSimpleProxyResolver:ignore-hosts or a proxy set
|
||||||
|
Loading…
x
Reference in New Issue
Block a user