gdk: Remove unused count member from GdkEventExpose
This commit is contained in:
@@ -70,10 +70,6 @@ struct _GdkEventAny
|
||||
* @send_event: %TRUE if the event was sent explicitly.
|
||||
* @area: bounding box of @region.
|
||||
* @region: the region that needs to be redrawn.
|
||||
* @count: the number of contiguous %GDK_EXPOSE events following this one.
|
||||
* The only use for this is “exposure compression”, i.e. handling all
|
||||
* contiguous %GDK_EXPOSE events in one go, though GDK performs some
|
||||
* exposure compression so this is not normally needed.
|
||||
*
|
||||
* Generated when all or part of a surface becomes visible and needs to be
|
||||
* redrawn.
|
||||
@@ -83,7 +79,6 @@ struct _GdkEventExpose
|
||||
GdkEventAny any;
|
||||
GdkRectangle area;
|
||||
cairo_region_t *region;
|
||||
gint count; /* If non-zero, how many more events follow. */
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -2355,7 +2355,6 @@ _gdk_surface_process_updates_recurse (GdkSurface *surface,
|
||||
event = gdk_event_new (GDK_EXPOSE);
|
||||
event->any.surface = g_object_ref (surface);
|
||||
event->any.send_event = FALSE;
|
||||
event->expose.count = 0;
|
||||
event->expose.region = cairo_region_reference (clipped_expose_region);
|
||||
cairo_region_get_extents (clipped_expose_region, &event->expose.area);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user