summaryrefslogtreecommitdiff
path: root/gdk/gdkdrawcontextprivate.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-04-23 23:26:14 +0200
committerBenjamin Otte <otte@redhat.com>2018-04-24 23:16:58 +0200
commit83ea0b371417b4d20071c6203454c0781a544960 (patch)
tree408b941f5c15a10c7457007030f74820a03f4320 /gdk/gdkdrawcontextprivate.h
parentfd686afeb2bba843c7b63a5b2284141981042439 (diff)
downloadgtk+-83ea0b371417b4d20071c6203454c0781a544960.tar.gz
drawcontext: Only pass the region that matters
We used to pass 2 regions to GdkDrawCotnext.end_frame() but code was confusing what they meant. So we now don't do that anymore and only pass the region that matters: The frame region.
Diffstat (limited to 'gdk/gdkdrawcontextprivate.h')
-rw-r--r--gdk/gdkdrawcontextprivate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdk/gdkdrawcontextprivate.h b/gdk/gdkdrawcontextprivate.h
index 9ea9eaed8c..8ae1d0e8f8 100644
--- a/gdk/gdkdrawcontextprivate.h
+++ b/gdk/gdkdrawcontextprivate.h
@@ -43,8 +43,7 @@ struct _GdkDrawContextClass
void (* begin_frame) (GdkDrawContext *context,
cairo_region_t *update_area);
void (* end_frame) (GdkDrawContext *context,
- cairo_region_t *painted,
- cairo_region_t *damage);
+ cairo_region_t *painted);
void (* surface_resized) (GdkDrawContext *context);
};