Remove deprecated gdk_app_launch_context_new

This commit is contained in:
Matthias Clasen 2016-10-25 15:27:42 -04:00
parent 78d0876c46
commit 4f1e06380c
3 changed files with 0 additions and 21 deletions

View File

@ -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

View File

@ -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,

View File

@ -40,8 +40,6 @@ G_BEGIN_DECLS
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);