app: add a "shell" property to GimpCanvasItem
and pass it to all constructors. The GimpDisplayShell is needed because items are going to become more powerful soon.
This commit is contained in:
@ -49,10 +49,12 @@ struct _GimpCanvasPolygonClass
|
||||
|
||||
GType gimp_canvas_polygon_get_type (void) G_GNUC_CONST;
|
||||
|
||||
GimpCanvasItem * gimp_canvas_polygon_new (const GimpVector2 *points,
|
||||
GimpCanvasItem * gimp_canvas_polygon_new (GimpDisplayShell *shell,
|
||||
const GimpVector2 *points,
|
||||
gint n_points,
|
||||
gboolean filled);
|
||||
GimpCanvasItem * gimp_canvas_polygon_new_from_coords (const GimpCoords *points,
|
||||
GimpCanvasItem * gimp_canvas_polygon_new_from_coords (GimpDisplayShell *shell,
|
||||
const GimpCoords *points,
|
||||
gint n_points,
|
||||
gboolean filled);
|
||||
|
||||
|
Reference in New Issue
Block a user