[gtk+] Remove deprecated gdk_app_launch_context_new



commit 4f1e06380cb53c9c386553ae27ee57f64f5907eb
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Oct 25 15:27:42 2016 -0400

    Remove deprecated gdk_app_launch_context_new

 docs/reference/gdk/gdk4-sections.txt |    2 --
 gdk/gdkapplaunchcontext.c            |   17 -----------------
 gdk/gdkapplaunchcontext.h            |    2 --
 3 files changed, 0 insertions(+), 21 deletions(-)
---
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt
index d6fda17..8a72583 100644
--- a/docs/reference/gdk/gdk4-sections.txt
+++ b/docs/reference/gdk/gdk4-sections.txt
@@ -100,7 +100,6 @@ GdkDisplay
 gdk_display_open
 gdk_display_get_default
 gdk_display_get_name
-gdk_display_get_n_screens
 gdk_display_get_screen
 gdk_display_get_default_screen
 gdk_display_get_device_manager
@@ -1266,7 +1265,6 @@ gdk_wayland_window_get_type
 <TITLE>Application launching</TITLE>
 <FILE>gdkapplaunchcontext</FILE>
 GdkAppLaunchContext
-gdk_app_launch_context_new
 gdk_app_launch_context_set_display
 gdk_app_launch_context_set_screen
 gdk_app_launch_context_set_desktop
diff --git a/gdk/gdkapplaunchcontext.c b/gdk/gdkapplaunchcontext.c
index bc2fa6d..f28861f 100644
--- a/gdk/gdkapplaunchcontext.c
+++ b/gdk/gdkapplaunchcontext.c
@@ -332,23 +332,6 @@ gdk_app_launch_context_set_icon_name (GdkAppLaunchContext *context,
   context->icon_name = g_strdup (icon_name);
 }
 
-/**
- * gdk_app_launch_context_new:
- *
- * Creates a new #GdkAppLaunchContext.
- *
- * Returns: a new #GdkAppLaunchContext
- *
- * Since: 2.14
- *
- * Deprecated: 3.0: Use gdk_display_get_app_launch_context() instead
- */
-GdkAppLaunchContext *
-gdk_app_launch_context_new (void)
-{
-  return gdk_display_get_app_launch_context (gdk_display_get_default ());
-}
-
 static char *
 gdk_app_launch_context_get_startup_notify_id (GAppLaunchContext *context,
                                               GAppInfo          *info,
diff --git a/gdk/gdkapplaunchcontext.h b/gdk/gdkapplaunchcontext.h
index dfcd5d4..03545ee 100644
--- a/gdk/gdkapplaunchcontext.h
+++ b/gdk/gdkapplaunchcontext.h
@@ -41,8 +41,6 @@ GDK_AVAILABLE_IN_ALL
 GType                gdk_app_launch_context_get_type      (void);
 
 GDK_DEPRECATED_IN_3_0_FOR(gdk_display_get_app_launch_context)
-GdkAppLaunchContext *gdk_app_launch_context_new           (void);
-GDK_DEPRECATED_IN_3_0_FOR(gdk_display_get_app_launch_context)
 void                 gdk_app_launch_context_set_display   (GdkAppLaunchContext *context,
                                                            GdkDisplay          *display);
 GDK_AVAILABLE_IN_ALL


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]