summaryrefslogtreecommitdiff
path: root/gdk/gdkcairo.h
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2010-09-02 01:45:17 +0200
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:38:11 +0100
commit02a30118c6110bc7906602adf1c38622d520f7de (patch)
treeda60345a0504fdb9396025379990e8644a6c57f2 /gdk/gdkcairo.h
parent621a95f515a97ff19f62db9d0aa561ee73276bd9 (diff)
downloadgtk+-02a30118c6110bc7906602adf1c38622d520f7de.tar.gz
Add a boxed type for cairo_pattern_t.
Diffstat (limited to 'gdk/gdkcairo.h')
-rw-r--r--gdk/gdkcairo.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdk/gdkcairo.h b/gdk/gdkcairo.h
index 67e08aa933..836c0be079 100644
--- a/gdk/gdkcairo.h
+++ b/gdk/gdkcairo.h
@@ -32,6 +32,9 @@
G_BEGIN_DECLS
cairo_t *gdk_cairo_create (GdkWindow *window);
+#define GDK_TYPE_CAIRO_PATTERN (gdk_cairo_pattern_get_type ())
+
+GType gdk_cairo_pattern_get_type (void) G_GNUC_CONST;
gboolean gdk_cairo_get_clip_rectangle(cairo_t *cr,
GdkRectangle *rect);