[gtk+] gdk: actually fix the previous commit



commit 46748b420ae4aa10dc30f90eeebc7351010a045e
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Jun 29 15:10:39 2016 +0200

    gdk: actually fix the previous commit
    
    We do not want it on windows

 gdk/gdk.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/gdk.c b/gdk/gdk.c
index f2113e1..22d7841 100644
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -233,7 +233,7 @@ 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
+#ifndef 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") },


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