mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gio/proxy: Fixed compilation warnings
* Wrong return type (NULL instead of FALSE) * Unused static function declaration
This commit is contained in:
parent
0958e66317
commit
de1598a34d
@ -200,7 +200,7 @@ g_proxy_supports_hostname (GProxy *proxy)
|
|||||||
{
|
{
|
||||||
GProxyInterface *iface;
|
GProxyInterface *iface;
|
||||||
|
|
||||||
g_return_val_if_fail (G_IS_PROXY (proxy), NULL);
|
g_return_val_if_fail (G_IS_PROXY (proxy), FALSE);
|
||||||
|
|
||||||
iface = G_PROXY_GET_IFACE (proxy);
|
iface = G_PROXY_GET_IFACE (proxy);
|
||||||
|
|
||||||
|
@ -39,8 +39,6 @@ struct _GSocks4ProxyClass
|
|||||||
GSocks4aProxyClass parent_class;
|
GSocks4aProxyClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
static void g_socks4_proxy_iface_init (GProxyInterface *proxy_iface);
|
|
||||||
|
|
||||||
#define g_socks4_proxy_get_type _g_socks4_proxy_get_type
|
#define g_socks4_proxy_get_type _g_socks4_proxy_get_type
|
||||||
G_DEFINE_TYPE_WITH_CODE (GSocks4Proxy, g_socks4_proxy, G_TYPE_SOCKS4A_PROXY,
|
G_DEFINE_TYPE_WITH_CODE (GSocks4Proxy, g_socks4_proxy, G_TYPE_SOCKS4A_PROXY,
|
||||||
_g_io_modules_ensure_extension_points_registered ();
|
_g_io_modules_ensure_extension_points_registered ();
|
||||||
|
Loading…
Reference in New Issue
Block a user