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 /gio/gdbusnamewatching.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 'gio/gdbusnamewatching.h')
-rw-r--r-- | gio/gdbusnamewatching.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gio/gdbusnamewatching.h b/gio/gdbusnamewatching.h index 785072aab..85607bf08 100644 --- a/gio/gdbusnamewatching.h +++ b/gio/gdbusnamewatching.h @@ -67,6 +67,7 @@ typedef void (*GBusNameVanishedCallback) (GDBusConnection *connection, gpointer user_data); +GLIB_AVAILABLE_IN_ALL guint g_bus_watch_name (GBusType bus_type, const gchar *name, GBusNameWatcherFlags flags, @@ -74,6 +75,7 @@ guint g_bus_watch_name (GBusType bus_type, GBusNameVanishedCallback name_vanished_handler, gpointer user_data, GDestroyNotify user_data_free_func); +GLIB_AVAILABLE_IN_ALL guint g_bus_watch_name_on_connection (GDBusConnection *connection, const gchar *name, GBusNameWatcherFlags flags, @@ -81,17 +83,20 @@ guint g_bus_watch_name_on_connection (GDBusConnection *connection, GBusNameVanishedCallback name_vanished_handler, gpointer user_data, GDestroyNotify user_data_free_func); +GLIB_AVAILABLE_IN_ALL guint g_bus_watch_name_with_closures (GBusType bus_type, const gchar *name, GBusNameWatcherFlags flags, GClosure *name_appeared_closure, GClosure *name_vanished_closure); +GLIB_AVAILABLE_IN_ALL guint g_bus_watch_name_on_connection_with_closures ( GDBusConnection *connection, const gchar *name, GBusNameWatcherFlags flags, GClosure *name_appeared_closure, GClosure *name_vanished_closure); +GLIB_AVAILABLE_IN_ALL void g_bus_unwatch_name (guint watcher_id); G_END_DECLS |