[gtk+/wip/otte/gtk4: 9/41] applaunchcontext: Ignore screen name



commit 2dc87033d929c9cad1455285961a18d089ab6e6c
Author: Benjamin Otte <otte redhat com>
Date:   Wed Sep 28 02:51:36 2016 +0200

    applaunchcontext: Ignore screen name
    
    It's guaranteed to be identical to the display name.

 gdk/gdkapplaunchcontext.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gdk/gdkapplaunchcontext.c b/gdk/gdkapplaunchcontext.c
index f84367d..bc2fa6d 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]