gdk: Remove unused area member from GdkEventExpose

This commit is contained in:
Benjamin Otte 2018-03-20 22:32:26 +01:00
parent 5c7ee3a483
commit 63edf43e86
2 changed files with 0 additions and 2 deletions

View File

@ -77,7 +77,6 @@ struct _GdkEventAny
struct _GdkEventExpose
{
GdkEventAny any;
GdkRectangle area;
cairo_region_t *region;
};

View File

@ -2356,7 +2356,6 @@ _gdk_surface_process_updates_recurse (GdkSurface *surface,
event->any.surface = g_object_ref (surface);
event->any.send_event = FALSE;
event->expose.region = cairo_region_reference (clipped_expose_region);
cairo_region_get_extents (clipped_expose_region, &event->expose.area);
_gdk_event_emit (event);
gdk_event_free (event);