GDesktopAppInfo: Do not set the DISPLAY in gio
commit4919c25d497dcba708074f7d35ea6b43d17f7294
authorOlivier Fourdan <ofourdan@redhat.com>
Tue, 15 Sep 2015 07:22:12 +0000 (15 09:22 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 6 Oct 2015 03:21:43 +0000 (5 23:21 -0400)
tree25877fff25419e81c29d2e0bdbcddee68bf948b5
parent212b0c28cc54f0a877a17bbeb70e6d013ad96ff7
GDesktopAppInfo: Do not set the DISPLAY in gio

The environment variable DISPLAY makes sense only for X11, it should
not be set in gio.

Beside, if the backend is not X11 but Wayland, forcing the value of
DISPLAY to the Wayland display will confuse the backend selection and
possibly crash the applications.

https://bugzilla.gnome.org/show_bug.cgi?id=754983
gio/gdesktopappinfo.c