summaryrefslogtreecommitdiff
path: root/gdk/gdkdraw.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-07-14 19:23:45 +0200
committerBenjamin Otte <otte@redhat.com>2010-08-10 21:02:27 +0200
commite85dfc7cc4334430b7f95d7e97a10c6c9e3f1233 (patch)
tree6deb93bee0b6f94b5d46003eb1eaf93ff30047d6 /gdk/gdkdraw.c
parentd2b1da4e844f9674140a2793037e1d875835cac4 (diff)
downloadgtk+-e85dfc7cc4334430b7f95d7e97a10c6c9e3f1233.tar.gz
API: remove gdk_draw_polygon()
Diffstat (limited to 'gdk/gdkdraw.c')
-rw-r--r--gdk/gdkdraw.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/gdk/gdkdraw.c b/gdk/gdkdraw.c
index 0a8532c54d..8181cc1a89 100644
--- a/gdk/gdkdraw.c
+++ b/gdk/gdkdraw.c
@@ -324,34 +324,6 @@ gdk_draw_rectangle (GdkDrawable *drawable,
}
/**
- * gdk_draw_polygon:
- * @drawable: a #GdkDrawable (a #GdkWindow or a #GdkPixmap).
- * @gc: a #GdkGC.
- * @filled: %TRUE if the polygon should be filled. The polygon is closed
- * automatically, connecting the last point to the first point if
- * necessary.
- * @points: an array of #GdkPoint structures specifying the points making
- * up the polygon.
- * @n_points: the number of points.
- *
- * Draws an outlined or filled polygon.
- **/
-void
-gdk_draw_polygon (GdkDrawable *drawable,
- GdkGC *gc,
- gboolean filled,
- const GdkPoint *points,
- gint n_points)
-{
- g_return_if_fail (GDK_IS_DRAWABLE (drawable));
- g_return_if_fail (GDK_IS_GC (gc));
-
- GDK_DRAWABLE_GET_CLASS (drawable)->draw_polygon (drawable, gc, filled,
- (GdkPoint *) points,
- n_points);
-}
-
-/**
* gdk_draw_drawable:
* @drawable: a #GdkDrawable
* @gc: a #GdkGC sharing the drawable's visual and colormap