diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-03-15 05:58:39 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-05-05 15:38:46 -0400 |
commit | ca81028901de2ae5c73ab1c4216182bdfe817c92 (patch) | |
tree | 6bf959b02ab661c328bbbb638726f785ee675746 /gdk/gdkthreads.h | |
parent | 96d1a1e9c5251b6a44f8a83fbdd60b7bd88f12a4 (diff) | |
download | gtk+-ca81028901de2ae5c73ab1c4216182bdfe817c92.tar.gz |
Add GDK_AVAILABLE_IN_ALL annotations in gdk
This is in preparation to modernizing our handing
of exported symbols.
Diffstat (limited to 'gdk/gdkthreads.h')
-rw-r--r-- | gdk/gdkthreads.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gdk/gdkthreads.h b/gdk/gdkthreads.h index 8869cfc014..8bdc3e4388 100644 --- a/gdk/gdkthreads.h +++ b/gdk/gdkthreads.h @@ -30,11 +30,12 @@ #endif #include <gdk/gdktypes.h> +#include <gdk/gdkversionmacros.h> G_BEGIN_DECLS #if defined(GDK_COMPILATION) || defined(GTK_COMPILATION) -#define GDK_THREADS_DEPRECATED +#define GDK_THREADS_DEPRECATED _GDK_EXTERN #else #define GDK_THREADS_DEPRECATED GDK_DEPRECATED_IN_3_6 #endif @@ -49,25 +50,31 @@ GDK_THREADS_DEPRECATED void gdk_threads_set_lock_functions (GCallback enter_fn, GCallback leave_fn); +GDK_AVAILABLE_IN_ALL guint gdk_threads_add_idle_full (gint priority, GSourceFunc function, gpointer data, GDestroyNotify notify); +GDK_AVAILABLE_IN_ALL guint gdk_threads_add_idle (GSourceFunc function, gpointer data); +GDK_AVAILABLE_IN_ALL guint gdk_threads_add_timeout_full (gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify); +GDK_AVAILABLE_IN_ALL guint gdk_threads_add_timeout (guint interval, GSourceFunc function, gpointer data); +GDK_AVAILABLE_IN_ALL guint gdk_threads_add_timeout_seconds_full (gint priority, guint interval, GSourceFunc function, gpointer data, GDestroyNotify notify); +GDK_AVAILABLE_IN_ALL guint gdk_threads_add_timeout_seconds (guint interval, GSourceFunc function, gpointer data); |