diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-11-29 09:03:32 -0500 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-11-29 14:07:27 -0500 |
commit | 52c608dd0d2f8a2818c6b1fc36040eeed8f301ab (patch) | |
tree | 4175fbf3275bbc6e77b5049fefe7e833aaa15fd4 /gio/gresource.h | |
parent | ce586ba991967b1a663a9082312a45725da6fe5b (diff) | |
download | glib-52c608dd0d2f8a2818c6b1fc36040eeed8f301ab.tar.gz |
gio: GLIB_AVAILABLE_IN to more APIs
Useful on its own, but also for a future patch for symbol visibility.
https://bugzilla.gnome.org/show_bug.cgi?id=688681
Diffstat (limited to 'gio/gresource.h')
-rw-r--r-- | gio/gresource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/gresource.h b/gio/gresource.h index 15bfc8a42..79aad7a3b 100644 --- a/gio/gresource.h +++ b/gio/gresource.h @@ -47,6 +47,7 @@ G_BEGIN_DECLS * error domains. */ #define G_RESOURCE_ERROR (g_resource_error_quark ()) +GLIB_AVAILABLE_IN_2_32 GQuark g_resource_error_quark (void); typedef struct _GStaticResource GStaticResource; @@ -64,6 +65,7 @@ GType g_resource_get_type (void) G_GNUC_CONST; GLIB_AVAILABLE_IN_2_32 GResource * g_resource_new_from_data (GBytes *data, GError **error); +GLIB_AVAILABLE_IN_2_32 GResource * g_resource_ref (GResource *resource); GLIB_AVAILABLE_IN_2_32 void g_resource_unref (GResource *resource); |