diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-02-27 07:07:48 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-02-27 07:11:43 -0500 |
commit | d36c10bc03ae113d24d60314d900e68be0fbb7b1 (patch) | |
tree | e7fac184cf6363d575a9eab5057c2e612c6bc8c8 /gdk/gdkapplaunchcontext.h | |
parent | e580c79ae05a10fb33313b9ae36d95905cfc7b89 (diff) | |
download | gtk+-d36c10bc03ae113d24d60314d900e68be0fbb7b1.tar.gz |
gdk: Use versioned deprecations
This patch changes all uses of GDK_DEPRECATED(_FOR) in gdk headers
by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same
time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions
in 3.2 and 3.4.
Diffstat (limited to 'gdk/gdkapplaunchcontext.h')
-rw-r--r-- | gdk/gdkapplaunchcontext.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdk/gdkapplaunchcontext.h b/gdk/gdkapplaunchcontext.h index 3e4dc16ac9..2ad1fc793a 100644 --- a/gdk/gdkapplaunchcontext.h +++ b/gdk/gdkapplaunchcontext.h @@ -28,6 +28,7 @@ #define __GDK_APP_LAUNCH_CONTEXT_H__ #include <gio/gio.h> +#include <gdk/gdkversionmacros.h> #include <gdk/gdktypes.h> #include <gdk/gdkscreen.h> @@ -40,9 +41,9 @@ G_BEGIN_DECLS GType gdk_app_launch_context_get_type (void); -GDK_DEPRECATED_FOR(gdk_display_get_app_launch_context) +GDK_DEPRECATED_IN_3_0_FOR(gdk_display_get_app_launch_context) GdkAppLaunchContext *gdk_app_launch_context_new (void); -GDK_DEPRECATED_FOR(gdk_display_get_app_launch_context) +GDK_DEPRECATED_IN_3_0_FOR(gdk_display_get_app_launch_context) void gdk_app_launch_context_set_display (GdkAppLaunchContext *context, GdkDisplay *display); void gdk_app_launch_context_set_screen (GdkAppLaunchContext *context, |