mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01: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;
|
||||
|
||||
/**
|
||||
* GSimpleProxyResolver:default-proxy:
|
||||
* GSimpleProxyResolver:default-proxy: (nullable)
|
||||
*
|
||||
* The default proxy URI that will be used for any URI that doesn't
|
||||
* 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:
|
||||
* @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
|
||||
* don't match #GSimpleProxyResolver:ignore-hosts or a proxy set
|
||||
|
Loading…
Reference in New Issue
Block a user