Commit 5c7ee3a4 authored by Benjamin Otte's avatar Benjamin Otte
Browse files

gdk: Remove unused count member from GdkEventExpose

parent 4f87861c
...@@ -70,10 +70,6 @@ struct _GdkEventAny ...@@ -70,10 +70,6 @@ struct _GdkEventAny
* @send_event: %TRUE if the event was sent explicitly. * @send_event: %TRUE if the event was sent explicitly.
* @area: bounding box of @region. * @area: bounding box of @region.
* @region: the region that needs to be redrawn. * @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 * Generated when all or part of a surface becomes visible and needs to be
* redrawn. * redrawn.
...@@ -83,7 +79,6 @@ struct _GdkEventExpose ...@@ -83,7 +79,6 @@ struct _GdkEventExpose
GdkEventAny any; GdkEventAny any;
GdkRectangle area; GdkRectangle area;
cairo_region_t *region; 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, ...@@ -2355,7 +2355,6 @@ _gdk_surface_process_updates_recurse (GdkSurface *surface,
event = gdk_event_new (GDK_EXPOSE); event = gdk_event_new (GDK_EXPOSE);
event->any.surface = g_object_ref (surface); event->any.surface = g_object_ref (surface);
event->any.send_event = FALSE; event->any.send_event = FALSE;
event->expose.count = 0;
event->expose.region = cairo_region_reference (clipped_expose_region); event->expose.region = cairo_region_reference (clipped_expose_region);
cairo_region_get_extents (clipped_expose_region, &event->expose.area); cairo_region_get_extents (clipped_expose_region, &event->expose.area);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment