summaryrefslogtreecommitdiff
path: root/graphics/goocanvasmm/patches/patch-ab
blob: 6c23dcb10770d4941f873c1950f7255c73c6723b (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-ab,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/goocanvasmm/enums.h.orig	2009-09-03 08:30:17.000000000 +0000
+++ goocanvas/goocanvasmm/enums.h
@@ -193,16 +193,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: