diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-12-06 14:04:59 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2013-01-13 13:11:57 -0500 |
commit | 0156092a4203d1c40dcd0df7515fc7eeaebba9ac (patch) | |
tree | 6dba99c97911f6d5bcd57b0881e9cc61a721e516 /gobject/gbinding.h | |
parent | 0dba77d0f4a28671d77222129f219b5961748562 (diff) | |
download | glib-0156092a4203d1c40dcd0df7515fc7eeaebba9ac.tar.gz |
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
Diffstat (limited to 'gobject/gbinding.h')
-rw-r--r-- | gobject/gbinding.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gobject/gbinding.h b/gobject/gbinding.h index fbc696437..ebb329c5e 100644 --- a/gobject/gbinding.h +++ b/gobject/gbinding.h @@ -100,20 +100,29 @@ typedef enum { /*< prefix=G_BINDING >*/ G_BINDING_INVERT_BOOLEAN = 1 << 2 } GBindingFlags; +GLIB_AVAILABLE_IN_ALL GType g_binding_flags_get_type (void) G_GNUC_CONST; +GLIB_AVAILABLE_IN_ALL GType g_binding_get_type (void) G_GNUC_CONST; +GLIB_AVAILABLE_IN_ALL GBindingFlags g_binding_get_flags (GBinding *binding); +GLIB_AVAILABLE_IN_ALL GObject * g_binding_get_source (GBinding *binding); +GLIB_AVAILABLE_IN_ALL GObject * g_binding_get_target (GBinding *binding); +GLIB_AVAILABLE_IN_ALL const gchar * g_binding_get_source_property (GBinding *binding); +GLIB_AVAILABLE_IN_ALL const gchar * g_binding_get_target_property (GBinding *binding); +GLIB_AVAILABLE_IN_ALL GBinding *g_object_bind_property (gpointer source, const gchar *source_property, gpointer target, const gchar *target_property, GBindingFlags flags); +GLIB_AVAILABLE_IN_ALL GBinding *g_object_bind_property_full (gpointer source, const gchar *source_property, gpointer target, @@ -123,6 +132,7 @@ GBinding *g_object_bind_property_full (gpointer source, GBindingTransformFunc transform_from, gpointer user_data, GDestroyNotify notify); +GLIB_AVAILABLE_IN_ALL GBinding *g_object_bind_property_with_closures (gpointer source, const gchar *source_property, gpointer target, |