applaunchcontext: Ignore screen name

It's guaranteed to be identical to the display name.
This commit is contained in:
Benjamin Otte 2016-09-28 02:51:36 +02:00
parent 9222b4cd7c
commit c0276e2c5c

View File

@ -162,9 +162,6 @@ gdk_app_launch_context_get_display (GAppLaunchContext *context,
GdkAppLaunchContext *ctx = GDK_APP_LAUNCH_CONTEXT (context);
GdkDisplay *display;
if (ctx->screen)
return gdk_screen_make_display_name (ctx->screen);
if (ctx->display)
display = ctx->display;
else