[gtk/wip/matthiasc/popup5: 176/220] gdk: Remove an unused field
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 176/220] gdk: Remove an unused field
- Date: Fri, 17 May 2019 03:22:46 +0000 (UTC)
commit 6839de7ced5b6d61be17de0e8e680fe31d640db8
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Apr 21 15:39:35 2019 +0000
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 93e42bc115..bc6a6a2782 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 ea36c114b8..1861908221 100644
--- a/gdk/gdksurface.c
+++ b/gdk/gdksurface.c
@@ -499,7 +499,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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]