[gtk+] gdk: do not provide display command line argument on windows



commit 38fbe68e83133fbbe4487fc9e8f77dfee5bbba00
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Jun 29 15:05:08 2016 +0200

    gdk: do not provide display command line argument on windows
    
    There is no need to specify a display on windows.

 gdk/gdk.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gdk/gdk.c b/gdk/gdk.c
index 97ea213..f2113e1 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -233,9 +233,11 @@ static const GOptionEntry gdk_args[] = {
   { "name",         0, 0,                     G_OPTION_ARG_CALLBACK, gdk_arg_name_cb,
     /* Description of --name=NAME in --help output */          N_("Program name as used by the window 
manager"),
     /* Placeholder in --name=NAME in --help output */          N_("NAME") },
+#ifdef G_OS_WIN32
   { "display",      0, G_OPTION_FLAG_IN_MAIN, G_OPTION_ARG_STRING,   &_gdk_display_name,
     /* Description of --display=DISPLAY in --help output */    N_("X display to use"),
     /* Placeholder in --display=DISPLAY in --help output */    N_("DISPLAY") },
+#endif
 #ifdef G_ENABLE_DEBUG
   { "gdk-debug",    0, 0, G_OPTION_ARG_CALLBACK, gdk_arg_debug_cb,  
     /* Description of --gdk-debug=FLAGS in --help output */    N_("GDK debugging flags to set"),


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