[gtk+/wip/otte/gtk4: 9/127] applaunchcontext: Ignore screen name
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk+/wip/otte/gtk4: 9/127] applaunchcontext: Ignore screen name
- Date: Sat,  8 Oct 2016 03:33:30 +0000 (UTC)
commit f8939d37a80fc1ee25366d7f2c300887460be6af
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]