-
Debarshi Ray authored
If the launch context is a GAppLaunchContext, and not a GdkAppLaunchContext, then g_app_launch_context_get_display will return NULL because the get_display virtual method is undefined. The DISPLAY might still be inherited from the parent process, in which case overwriting it with NULL breaks the launch. This is a regression introduced in: de834bed Fixes: https://bugzilla.gnome.org/672786
9926b931