diff options
author | Benjamin Otte <otte@redhat.com> | 2016-09-28 02:51:36 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2016-10-16 18:17:21 +0200 |
commit | c0276e2c5cce83932f174ac3cda428ac14d8b70e (patch) | |
tree | 727209753f446bc85d128b36630815a057dffe88 /gdk/gdkapplaunchcontext.c | |
parent | 9222b4cd7cf6f5e802d350888e04058ca27290a8 (diff) | |
download | gtk+-c0276e2c5cce83932f174ac3cda428ac14d8b70e.tar.gz |
applaunchcontext: Ignore screen name
It's guaranteed to be identical to the display name.
Diffstat (limited to 'gdk/gdkapplaunchcontext.c')
-rw-r--r-- | gdk/gdkapplaunchcontext.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdk/gdkapplaunchcontext.c b/gdk/gdkapplaunchcontext.c index f84367da55..bc2fa6d744 100644 --- a/gdk/gdkapplaunchcontext.c +++ b/gdk/gdkapplaunchcontext.c @@ -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 |