mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-30 20:33:08 +02:00
gspawn: Don’t mention removed gdk_spawn functions
Mention alternatives that actually still exist instead. https://bugzilla.gnome.org/show_bug.cgi?id=785520
This commit is contained in:
parent
f591366eee
commit
e02e3540ab
@ -161,10 +161,10 @@ G_DEFINE_QUARK (g-spawn-exit-error-quark, g_spawn_exit_error)
|
|||||||
* You should call g_spawn_close_pid() on the returned child process
|
* You should call g_spawn_close_pid() on the returned child process
|
||||||
* reference when you don't need it any more.
|
* reference when you don't need it any more.
|
||||||
*
|
*
|
||||||
* If you are writing a GTK+ application, and the program you are
|
* If you are writing a GTK+ application, and the program you are spawning is a
|
||||||
* spawning is a graphical application, too, then you may want to
|
* graphical application too, then to ensure that the spawned program opens its
|
||||||
* use gdk_spawn_on_screen() instead to ensure that the spawned program
|
* windows on the right screen, you may want to use #GdkAppLaunchContext,
|
||||||
* opens its windows on the right screen.
|
* #GAppLaunchcontext, or set the %DISPLAY environment variable.
|
||||||
*
|
*
|
||||||
* Note that the returned @child_pid on Windows is a handle to the child
|
* Note that the returned @child_pid on Windows is a handle to the child
|
||||||
* process and not its identifier. Process handles and process identifiers
|
* process and not its identifier. Process handles and process identifiers
|
||||||
@ -666,10 +666,10 @@ g_spawn_sync (const gchar *working_directory,
|
|||||||
* If @child_pid is not %NULL and an error does not occur then the returned
|
* If @child_pid is not %NULL and an error does not occur then the returned
|
||||||
* process reference must be closed using g_spawn_close_pid().
|
* process reference must be closed using g_spawn_close_pid().
|
||||||
*
|
*
|
||||||
* If you are writing a GTK+ application, and the program you
|
* If you are writing a GTK+ application, and the program you are spawning is a
|
||||||
* are spawning is a graphical application, too, then you may
|
* graphical application too, then to ensure that the spawned program opens its
|
||||||
* want to use gdk_spawn_on_screen_with_pipes() instead to ensure that
|
* windows on the right screen, you may want to use #GdkAppLaunchContext,
|
||||||
* the spawned program opens its windows on the right screen.
|
* #GAppLaunchcontext, or set the %DISPLAY environment variable.
|
||||||
*
|
*
|
||||||
* Returns: %TRUE on success, %FALSE if an error was set
|
* Returns: %TRUE on success, %FALSE if an error was set
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user