summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-03-20 22:30:04 +0100
committerBenjamin Otte <otte@redhat.com>2018-03-21 00:43:28 +0100
commit5c7ee3a483f1fc59b60da0e8fafb33681bab507d (patch)
tree195a50314ca7552657a411cadfe5c4fbb5d4cc9d /gdk
parent4f87861c9a2a07659da49cec9cbeb0c30e6e06ff (diff)
downloadgtk+-5c7ee3a483f1fc59b60da0e8fafb33681bab507d.tar.gz
gdk: Remove unused count member from GdkEventExpose
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkeventsprivate.h5
-rw-r--r--gdk/gdksurface.c1
2 files changed, 0 insertions, 6 deletions
diff --git a/gdk/gdkeventsprivate.h b/gdk/gdkeventsprivate.h
index b664f2706c..93f872ce22 100644
--- a/gdk/gdkeventsprivate.h
+++ b/gdk/gdkeventsprivate.h
@@ -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. */
};
/*
diff --git a/gdk/gdksurface.c b/gdk/gdksurface.c
index 8f287d5199..3b1fb91ab6 100644
--- a/gdk/gdksurface.c
+++ b/gdk/gdksurface.c
@@ -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);