summaryrefslogtreecommitdiff
path: root/gdk/gdkapplaunchcontext.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-12-24 17:37:00 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-12-24 17:37:00 -0500
commit1d41b98cf8bfe8ad7a0693cdebb852ab97929e9c (patch)
tree420ae22e1384eeefd527b37dc1ec8ffffb14c5f4 /gdk/gdkapplaunchcontext.h
parent1e13b42b9b7820d8901b4696d61a03a060939656 (diff)
downloadgtk+-1d41b98cf8bfe8ad7a0693cdebb852ab97929e9c.tar.gz
Add deprecation guards for deprecated GdkAppLaunchContext API
Also adapt the docs to not use deprecated API.
Diffstat (limited to 'gdk/gdkapplaunchcontext.h')
-rw-r--r--gdk/gdkapplaunchcontext.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkapplaunchcontext.h b/gdk/gdkapplaunchcontext.h
index ad1b1f1760..96aeeba967 100644
--- a/gdk/gdkapplaunchcontext.h
+++ b/gdk/gdkapplaunchcontext.h
@@ -40,9 +40,11 @@ G_BEGIN_DECLS
GType gdk_app_launch_context_get_type (void);
+#ifndef GDK_DISABLE_DEPRECATED
GdkAppLaunchContext *gdk_app_launch_context_new (void);
void gdk_app_launch_context_set_display (GdkAppLaunchContext *context,
GdkDisplay *display);
+#endif
void gdk_app_launch_context_set_screen (GdkAppLaunchContext *context,
GdkScreen *screen);
void gdk_app_launch_context_set_desktop (GdkAppLaunchContext *context,