summaryrefslogtreecommitdiff
path: root/gdk/gdkcairo.h
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-09-01 17:05:50 +0200
committerAlexander Larsson <alexl@redhat.com>2009-09-01 17:06:41 +0200
commit45956aea21e9c8a279f096a0536826a5d14a9c82 (patch)
tree87a6ad67941bea73d5b635463f9a014252027aaf /gdk/gdkcairo.h
parentf97a33ad9c6936b1ce6c5d4e937a17cc392b95b3 (diff)
downloadgtk+-45956aea21e9c8a279f096a0536826a5d14a9c82.tar.gz
Add gdk_cairo_reset_clip
This is required to get back the original drawable clip due to non-native windows on a cairo_t.
Diffstat (limited to 'gdk/gdkcairo.h')
-rw-r--r--gdk/gdkcairo.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkcairo.h b/gdk/gdkcairo.h
index 70d79de882..d74182d0f8 100644
--- a/gdk/gdkcairo.h
+++ b/gdk/gdkcairo.h
@@ -31,6 +31,8 @@
G_BEGIN_DECLS
cairo_t *gdk_cairo_create (GdkDrawable *drawable);
+void gdk_cairo_reset_clip (cairo_t *cairo_t,
+ GdkDrawable *drawable);
void gdk_cairo_set_source_color (cairo_t *cr,
const GdkColor *color);