forked from AuroraMiddleware/gtk
Deprecate gdk_spawn apis
This commit is contained in:
parent
2f8c78ddc5
commit
08e4a60de1
@ -1193,11 +1193,13 @@ gdk_set_sm_client_id
|
||||
|
||||
#if IN_HEADER(__GDK_SPAWN_H__)
|
||||
#if IN_FILE(__GDK_SPAWN_X11_C__)
|
||||
#ifndef GDK_DISABLE_DEPRECATED
|
||||
gdk_spawn_command_line_on_screen
|
||||
gdk_spawn_on_screen
|
||||
gdk_spawn_on_screen_with_pipes
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if IN_HEADER(__GDK_PRIVATE_H__)
|
||||
#if IN_FILE(__GDK_EVENTS_C__)
|
||||
|
@ -30,6 +30,7 @@
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
#ifndef GDK_DISABLE_DEPRECATED
|
||||
gboolean gdk_spawn_on_screen (GdkScreen *screen,
|
||||
const gchar *working_directory,
|
||||
gchar **argv,
|
||||
@ -56,6 +57,7 @@ gboolean gdk_spawn_on_screen_with_pipes (GdkScreen *screen,
|
||||
gboolean gdk_spawn_command_line_on_screen (GdkScreen *screen,
|
||||
const gchar *command_line,
|
||||
GError **error);
|
||||
#endif
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
|
@ -74,6 +74,9 @@ set_environment (gpointer user_data)
|
||||
* Return value: %TRUE on success, %FALSE if error is set
|
||||
*
|
||||
* Since: 2.4
|
||||
*
|
||||
* Deprecated: 2.24: This function is being removed in 3.0. Use
|
||||
* either g_spawn() or #GdkAppLaunchContext instead
|
||||
**/
|
||||
gboolean
|
||||
gdk_spawn_on_screen (GdkScreen *screen,
|
||||
@ -134,6 +137,9 @@ gdk_spawn_on_screen (GdkScreen *screen,
|
||||
* Return value: %TRUE on success, %FALSE if an error was set
|
||||
*
|
||||
* Since: 2.4
|
||||
*
|
||||
* Deprecated: 2.24: This function is being removed in 3.0. Use
|
||||
* either g_spawn_with_pipes() or #GdkAppLaunchContext instead
|
||||
**/
|
||||
gboolean
|
||||
gdk_spawn_on_screen_with_pipes (GdkScreen *screen,
|
||||
@ -188,6 +194,9 @@ gdk_spawn_on_screen_with_pipes (GdkScreen *screen,
|
||||
* Return value: %TRUE on success, %FALSE if error is set.
|
||||
*
|
||||
* Since: 2.4
|
||||
*
|
||||
* Deprecated: 2.24: This function is being removed in 3.0. Use
|
||||
* either g_spawn_command_line() or #GdkAppLaunchContext instead
|
||||
**/
|
||||
gboolean
|
||||
gdk_spawn_command_line_on_screen (GdkScreen *screen,
|
||||
|
Loading…
Reference in New Issue
Block a user