GNOME Bugzilla – Bug 785520
Replace advice to use removed gdk_spawn functions
Last modified: 2017-10-05 13:48:33 UTC
gspawn.c says > If you are writing a GTK+ application, and the program you are > spawning is a graphical application, too, then you may want to use > gdk_spawn_on_screen[_with_pipes]() instead to ensure that the spawned > program opens its windows on the right screen. The gdk_spawn functions are deprecated. This should instead advise to use the DISPLAY env var or GdkAppLaunchContext to set the display, etc of the spawned graphical app.
(In reply to Daniel Boles from comment #0) > The gdk_spawn functions are deprecated. Google had taken me to GDK2 documentation. In GDK3, these are removed altogether.
Created attachment 356504 [details] [review] gspawn: Don’t mention removed gdk_spawn functions If there's a better replacement than this, let me know. This is just what I got from a quick glance at the related docs and an even quicker search for people replacing the gdk_spawn functions in the past.
Created attachment 356847 [details] [review] gspawn: Don’t mention removed gdk_spawn functions
*** Bug 759485 has been marked as a duplicate of this bug. ***
*** Bug 775785 has been marked as a duplicate of this bug. ***