From 1a23ebf10541944438c736feea4dd6ca619b186d Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 21 Apr 2019 15:39:35 +0000 Subject: [PATCH] gdk: Remove an unused field Spring cleaning. We are not using this field at all, since we have the input_only boolean. --- gdk/gdkinternals.h | 8 -------- gdk/gdksurface.c | 1 - 2 files changed, 9 deletions(-) diff --git a/gdk/gdkinternals.h b/gdk/gdkinternals.h index bbfd58cb37..bf18421580 100644 --- a/gdk/gdkinternals.h +++ b/gdk/gdkinternals.h @@ -118,19 +118,11 @@ typedef enum typedef struct _GdkSurfacePaint GdkSurfacePaint; -typedef enum -{ - GDK_INPUT_OUTPUT, - GDK_INPUT_ONLY -} GdkSurfaceSurfaceClass; - - struct _GdkSurfaceAttr { gint x, y; gint width; gint height; - GdkSurfaceSurfaceClass wclass; GdkSurfaceType surface_type; }; diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c index 31c3d1db90..8ac3fcaa0d 100644 --- a/gdk/gdksurface.c +++ b/gdk/gdksurface.c @@ -505,7 +505,6 @@ gdk_surface_new (GdkDisplay *display, gdk_surface_set_frame_clock (surface, frame_clock); g_object_unref (frame_clock); - attributes.wclass = input_only ? GDK_INPUT_ONLY : GDK_INPUT_OUTPUT; attributes.surface_type = surface_type; attributes.x = x; attributes.y = y;