From 0156092a4203d1c40dcd0df7515fc7eeaebba9ac Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Thu, 6 Dec 2012 14:04:59 -0500 Subject: various: add GLIB_AVAILABLE_IN_ALL everywhere else Add the GLIB_AVAILABLE_IN_ALL annotation to all old functions (that haven't already been annotated with the GLIB_AVAILABLE_IN_* macros or a deprecation macro). If we discover in the future that we cannot use only one macro on Windows, it will be an easy sed patch to fix that. https://bugzilla.gnome.org/show_bug.cgi?id=688681 --- gio/gproxyresolver.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gio/gproxyresolver.h') diff --git a/gio/gproxyresolver.h b/gio/gproxyresolver.h index 5884dc855..eaad83418 100644 --- a/gio/gproxyresolver.h +++ b/gio/gproxyresolver.h @@ -68,19 +68,25 @@ struct _GProxyResolverInterface { GError **error); }; +GLIB_AVAILABLE_IN_ALL GType g_proxy_resolver_get_type (void) G_GNUC_CONST; +GLIB_AVAILABLE_IN_ALL GProxyResolver *g_proxy_resolver_get_default (void); +GLIB_AVAILABLE_IN_ALL gboolean g_proxy_resolver_is_supported (GProxyResolver *resolver); +GLIB_AVAILABLE_IN_ALL gchar **g_proxy_resolver_lookup (GProxyResolver *resolver, const gchar *uri, GCancellable *cancellable, GError **error); +GLIB_AVAILABLE_IN_ALL void g_proxy_resolver_lookup_async (GProxyResolver *resolver, const gchar *uri, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data); +GLIB_AVAILABLE_IN_ALL gchar **g_proxy_resolver_lookup_finish (GProxyResolver *resolver, GAsyncResult *result, GError **error); -- cgit v1.2.1