forked from AuroraMiddleware/gtk
Remove deprecated gdk_app_launch_context_new
This commit is contained in:
parent
78d0876c46
commit
4f1e06380c
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user