Commit c3766b61 authored by Michael Natterer's avatar Michael Natterer 😴

app: make the points array const in gimp_channel_select_polygon()

parent 96b80230
......@@ -260,16 +260,16 @@ gimp_channel_select_scan_convert (GimpChannel *channel,
}
void
gimp_channel_select_polygon (GimpChannel *channel,
const gchar *undo_desc,
gint n_points,
GimpVector2 *points,
GimpChannelOps op,
gboolean antialias,
gboolean feather,
gdouble feather_radius_x,
gdouble feather_radius_y,
gboolean push_undo)
gimp_channel_select_polygon (GimpChannel *channel,
const gchar *undo_desc,
gint n_points,
const GimpVector2 *points,
GimpChannelOps op,
gboolean antialias,
gboolean feather,
gdouble feather_radius_x,
gdouble feather_radius_y,
gboolean push_undo)
{
GimpScanConvert *scan_convert;
......
......@@ -72,7 +72,7 @@ void gimp_channel_select_scan_convert (GimpChannel *channel,
void gimp_channel_select_polygon (GimpChannel *channel,
const gchar *undo_desc,
gint n_points,
GimpVector2 *points,
const GimpVector2 *points,
GimpChannelOps op,
gboolean antialias,
gboolean feather,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment