diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2016-06-10 17:00:29 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2016-06-12 17:27:44 +0100 |
commit | 222bcf1a71dbd879fe39bfb9239c093b1da6bb4d (patch) | |
tree | b140effbb315ab435f4f3394b82f3a252033b511 /gdk/gdkdrawingcontext.c | |
parent | 32a37351cf8a3758febff4291659d52cfb96f294 (diff) | |
download | gtk+-222bcf1a71dbd879fe39bfb9239c093b1da6bb4d.tar.gz |
gdk: Try harder at tracking drawing contexts
If gdk_cairo_create() is called within a frame draw operation, we can
still associate the Cairo context with a GdkDrawingContext.
Diffstat (limited to 'gdk/gdkdrawingcontext.c')
-rw-r--r-- | gdk/gdkdrawingcontext.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkdrawingcontext.c b/gdk/gdkdrawingcontext.c index 89d9b500b1..c082a155cc 100644 --- a/gdk/gdkdrawingcontext.c +++ b/gdk/gdkdrawingcontext.c @@ -180,7 +180,7 @@ gdk_drawing_context_init (GdkDrawingContext *self) static const cairo_user_data_key_t draw_context_key; -static void +void gdk_cairo_set_drawing_context (cairo_t *cr, GdkDrawingContext *context) { |