[gtk/matthiasc/for-master] gdk: Drop _gdk_windowing_args



commit aa0d0dc510d4331579717831a24098f9f1c477b9
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue May 26 20:13:13 2020 -0400

    gdk: Drop _gdk_windowing_args
    
    We are no longer parsing commandline args, so this
    was a useless leftover that was still defined in
    the win32 backend.

 gdk/gdkinternals.h        |  2 --
 gdk/win32/gdkmain-win32.c | 15 ---------------
 2 files changed, 17 deletions(-)
---
diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h
index 419a0e6e8b..f39bd20f8a 100644
--- a/gdk/gdkinternals.h
+++ b/gdk/gdkinternals.h
@@ -197,8 +197,6 @@ void       gdk_surface_leave_monitor (GdkSurface *surface,
 
 void _gdk_cursor_destroy (GdkCursor *cursor);
 
-extern const GOptionEntry _gdk_windowing_args[];
-
 void _gdk_windowing_got_event                (GdkDisplay       *display,
                                               GList            *event_link,
                                               GdkEvent         *event,
diff --git a/gdk/win32/gdkmain-win32.c b/gdk/win32/gdkmain-win32.c
index ad80346552..4f1f77ce54 100644
--- a/gdk/win32/gdkmain-win32.c
+++ b/gdk/win32/gdkmain-win32.c
@@ -51,21 +51,6 @@ static gboolean gdk_synchronize = FALSE;
 
 static gboolean dummy;
 
-const GOptionEntry _gdk_windowing_args[] = {
-  { "sync", 0, 0, G_OPTION_ARG_NONE, &gdk_synchronize,
-    /* Description of --sync in --help output */              N_("Don’t batch GDI requests"), NULL },
-  { "no-wintab", 0, 0, G_OPTION_ARG_NONE, &_gdk_input_ignore_wintab,
-    /* Description of --no-wintab in --help output */         N_("Don’t use the Wintab API for tablet 
support"), NULL },
-  { "ignore-wintab", 0, 0, G_OPTION_ARG_NONE, &_gdk_input_ignore_wintab,
-    /* Description of --ignore-wintab in --help output */     N_("Same as --no-wintab"), NULL },
-  { "use-wintab", 0, 0, G_OPTION_ARG_NONE, &dummy,
-    /* Description of --use-wintab in --help output */     N_("Do use the Wintab API [default]"), NULL },
-  { "max-colors", 0, 0, G_OPTION_ARG_INT, &_gdk_max_colors,
-    /* Description of --max-colors=COLORS in --help output */ N_("Size of the palette in 8 bit mode"),
-    /* Placeholder in --max-colors=COLORS in --help output */ N_("COLORS") },
-  { NULL }
-};
-
 void
 _gdk_win32_surfaceing_init (void)
 {


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