From cf21582a93e0b40b1400891b0ea2b0d52482c759 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 13 Oct 2010 17:58:50 +0200 Subject: gnome-canvas: Remove GnomeCanvasPoints It's unused by now. --- libgnomecanvas/gnome-canvas-util.h | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'libgnomecanvas/gnome-canvas-util.h') 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. * -- cgit v1.2.3