aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas/gnome-canvas-util.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-10-13 23:58:50 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:49:59 +0800
commitcf21582a93e0b40b1400891b0ea2b0d52482c759 (patch)
tree7d5e6c1f9f70d1229734c8882639209bbcbd5a64 /libgnomecanvas/gnome-canvas-util.h
parent372b46d528dc9db5c7eb03e1b5f16580e1aba9a1 (diff)
downloadgsoc2013-evolution-cf21582a93e0b40b1400891b0ea2b0d52482c759.tar.gz
gsoc2013-evolution-cf21582a93e0b40b1400891b0ea2b0d52482c759.tar.zst
gsoc2013-evolution-cf21582a93e0b40b1400891b0ea2b0d52482c759.zip
gnome-canvas: Remove GnomeCanvasPoints
It's unused by now.
Diffstat (limited to 'libgnomecanvas/gnome-canvas-util.h')
-rw-r--r--libgnomecanvas/gnome-canvas-util.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/libgnomecanvas/gnome-canvas-util.h b/libgnomecanvas/gnome-canvas-util.h
index 74e112f0fd..1a29221f29 100644
--- a/libgnomecanvas/gnome-canvas-util.h
+++ b/libgnomecanvas/gnome-canvas-util.h
@@ -41,28 +41,6 @@
G_BEGIN_DECLS
-typedef struct _GnomeCanvasPoints GnomeCanvasPoints;
-
-/* This structure defines an array of points. X coordinates are stored in the even-numbered
- * indices, and Y coordinates are stored in the odd-numbered indices. num_points indicates the
- * number of points, so the array is 2*num_points elements big.
- */
-struct _GnomeCanvasPoints {
- gdouble *coords;
- gint num_points;
- gint ref_count;
-};
-
-/* Allocate a new GnomeCanvasPoints structure with enough space for the specified number of points */
-GnomeCanvasPoints *gnome_canvas_points_new (gint num_points);
-
-/* Increate ref count */
-GnomeCanvasPoints *gnome_canvas_points_ref (GnomeCanvasPoints *points);
-#define gnome_canvas_points_unref gnome_canvas_points_free
-
-/* Decrease ref count and free structure if it has reached zero */
-void gnome_canvas_points_free (GnomeCanvasPoints *points);
-
/* Given three points forming an angle, compute the coordinates of the inside and outside points of
* the mitered corner formed by a line of a given width at that angle.
*