summaryrefslogtreecommitdiff
path: root/gdk/gdkapplaunchcontext.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-10-11 15:03:46 -0400
committerMatthias Clasen <mclasen@redhat.com>2011-10-11 15:03:46 -0400
commit9e0efc5022400b003725838af5a1c173ebea0bd1 (patch)
treecb84d7101c386aee87dc44edfe39a051d1b8e82e /gdk/gdkapplaunchcontext.h
parent8f078992fd1981848113e12883db3f4e15e31cd1 (diff)
downloadgtk+-9e0efc5022400b003725838af5a1c173ebea0bd1.tar.gz
Add deprecation annotations for deprecated functions
We define our own GDK_DEPRECATED[_FOR] macros for this and allow it to be turned off by defining the GDK_DISABLE_DEPRECATION_WARNINGS macro.
Diffstat (limited to 'gdk/gdkapplaunchcontext.h')
-rw-r--r--gdk/gdkapplaunchcontext.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdk/gdkapplaunchcontext.h b/gdk/gdkapplaunchcontext.h
index 5f968c91c9..d3a84913b6 100644
--- a/gdk/gdkapplaunchcontext.h
+++ b/gdk/gdkapplaunchcontext.h
@@ -41,9 +41,11 @@ G_BEGIN_DECLS
GType gdk_app_launch_context_get_type (void);
#ifndef GDK_DISABLE_DEPRECATED
-GdkAppLaunchContext *gdk_app_launch_context_new (void) G_GNUC_DEPRECATED_FOR(gdk_display_get_app_launch_context);
+GDK_DEPRECATED_FOR(gdk_display_get_app_launch_context)
+GdkAppLaunchContext *gdk_app_launch_context_new (void);
+GDK_DEPRECATED_FOR(gdk_display_get_app_launch_context)
void gdk_app_launch_context_set_display (GdkAppLaunchContext *context,
- GdkDisplay *display) G_GNUC_DEPRECATED_FOR(gdk_display_get_app_launch_context);
+ GdkDisplay *display);
#endif
void gdk_app_launch_context_set_screen (GdkAppLaunchContext *context,
GdkScreen *screen);