summaryrefslogtreecommitdiff
path: root/graphics/goocanvasmm/patches/patch-ad
blob: 7fe534c3f79d5444a2010852a32c0f32054fd73c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ad,v 1.1 2011/01/12 11:57:27 obache Exp $

Fix the build with the latest cairomm.
http://git.gnome.org/browse/goocanvasmm/commit/?h=goocanvasmm-1.0&id=30edcb72c89c0f97d11d9f88c6da82f6ae78d4bf

--- goocanvas/src/enums.hg.orig	2009-09-03 08:28:35.000000000 +0000
+++ goocanvas/src/enums.hg
@@ -40,16 +40,6 @@ namespace Glib
 // GTypes goocanvas defines for them in goocanvasutil.h
 
 template<>
-class Value<Cairo::Pattern> : public Glib::ValueBase_Boxed
-{
-public:
-  static GType value_type() G_GNUC_CONST;
-
-  void set(const Cairo::Pattern& data) { set_boxed(data.cobj()); }
-  Cairo::Pattern get() const { return Cairo::Pattern(static_cast<cairo_pattern_t*>(get_boxed())); }
-};
-
-template<>
 class Value<Cairo::Matrix*> : public Glib::ValueBase_Boxed
 {
 public: