summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin@sipsolutions.net>2010-10-13 16:33:38 +0200
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:38:20 +0100
commite8c103f652921530aa30ab9e829bbe485deb7d85 (patch)
tree625396c50a2f583a46559db889e730af5509e72d /gdk
parent88a3c2daaeaa36c6474bd3ce745fb0b127875dac (diff)
downloadgtk+-e8c103f652921530aa30ab9e829bbe485deb7d85.tar.gz
Use cairo gobject support instead of a new boxed type.
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkcairo.c2
-rw-r--r--gdk/gdkcairo.h3
2 files changed, 0 insertions, 5 deletions
diff --git a/gdk/gdkcairo.c b/gdk/gdkcairo.c
index 60ac621943..0d4b8bde09 100644
--- a/gdk/gdkcairo.c
+++ b/gdk/gdkcairo.c
@@ -25,8 +25,6 @@
#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
diff --git a/gdk/gdkcairo.h b/gdk/gdkcairo.h
index 836c0be079..67e08aa933 100644
--- a/gdk/gdkcairo.h
+++ b/gdk/gdkcairo.h
@@ -32,9 +32,6 @@
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);