summaryrefslogtreecommitdiff
path: root/gdk/gdkcairo.c
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.c
parent621a95f515a97ff19f62db9d0aa561ee73276bd9 (diff)
downloadgtk+-02a30118c6110bc7906602adf1c38622d520f7de.tar.gz
Add a boxed type for cairo_pattern_t.
Diffstat (limited to 'gdk/gdkcairo.c')
-rw-r--r--gdk/gdkcairo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c
index 0d4b8bde09..60ac621943 100644
--- a/gdk/gdkcairo.c
+++ b/gdk/gdkcairo.c
@@ -25,6 +25,8 @@
#include <math.h>
+G_DEFINE_BOXED_TYPE (cairo_pattern_t, gdk_cairo_pattern, cairo_pattern_reference, cairo_pattern_destroy)
+
/**
* SECTION:cairo_interaction
* @Short_description: Functions to support using Cairo