forked from AuroraMiddleware/gtk
gdk: Remove an unused field
Spring cleaning. We are not using this field at all, since we have the input_only boolean.
This commit is contained in:
parent
82c8a05855
commit
1a23ebf105
@ -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;
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user