summaryrefslogtreecommitdiff
path: root/community/diacanvas/override-fix.patch
blob: afb0810b9f39e0b2bf778f374404c61b01f1c944 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
diff -Naur diacanvas2-0.14.4.orig/python/diacanvas.override diacanvas2-0.14.4.new/python/diacanvas.override
--- diacanvas2-0.14.4.orig/python/diacanvas.override	2004-10-26 03:54:46.000000000 -0400
+++ diacanvas2-0.14.4.new/python/diacanvas.override	2007-06-27 13:13:31.000000000 -0400
@@ -182,55 +182,6 @@
 	return create_canvas_item (self, args, kwargs, DIA_TYPE_CANVAS_TEXT);
 }
 %%
-override dia_canvas_item_new kwargs
-static int
-_wrap_dia_canvas_item_new (PyGObject *self, PyObject *args, PyObject *kwargs)
-{
-	return create_canvas_item (self, args, kwargs, DIA_TYPE_CANVAS_ITEM);
-}
-%%
-override dia_canvas_group_new kwargs
-static int
-_wrap_dia_canvas_group_new (PyGObject *self, PyObject *args, PyObject *kwargs)
-{
-	return create_canvas_item (self, args, kwargs, DIA_TYPE_CANVAS_GROUP);
-}
-%%
-override dia_canvas_element_new kwargs
-static int
-_wrap_dia_canvas_element_new (PyGObject *self, PyObject *args, PyObject *kwargs)
-{
-	return create_canvas_item (self, args, kwargs, DIA_TYPE_CANVAS_ELEMENT);
-}
-%%
-override dia_canvas_line_new kwargs
-static int
-_wrap_dia_canvas_line_new (PyGObject *self, PyObject *args, PyObject *kwargs)
-{
-	return create_canvas_item (self, args, kwargs, DIA_TYPE_CANVAS_LINE);
-}
-%%
-override dia_canvas_box_new kwargs
-static int
-_wrap_dia_canvas_box_new (PyGObject *self, PyObject *args, PyObject *kwargs)
-{
-	return create_canvas_item (self, args, kwargs, DIA_TYPE_CANVAS_BOX);
-}
-%%
-override dia_canvas_image_new kwargs
-static int
-_wrap_dia_canvas_image_new (PyGObject *self, PyObject *args, PyObject *kwargs)
-{
-	return create_canvas_item (self, args, kwargs, DIA_TYPE_CANVAS_IMAGE);
-}
-%%
-override dia_canvas_text_new kwargs
-static int
-_wrap_dia_canvas_text_new (PyGObject *self, PyObject *args, PyObject *kwargs)
-{
-	return create_canvas_item (self, args, kwargs, DIA_TYPE_CANVAS_TEXT);
-}
-%%
 override dia_canvas_get_pango_layout noargs
 static PyObject *
 _wrap_dia_canvas_get_pango_layout(PyGObject *self)