[gtk+/wip/otte/gtk4: 8/24] applaunchcontext: Ignore screen name



commit c0dff5f4ddfd94f37f7f489e69a214326aaf4967
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]