app: fix signature of gimp_canvas_limit_new()
... and gimp_tool_widget_add_limit().
(cherry picked from commit 9fe589734b
)
This commit is contained in:
@ -443,7 +443,7 @@ gimp_canvas_limit_new (GimpDisplayShell *shell,
|
||||
gdouble radius,
|
||||
gdouble aspect_ratio,
|
||||
gdouble angle,
|
||||
gdouble dashed)
|
||||
gboolean dashed)
|
||||
{
|
||||
g_return_val_if_fail (GIMP_IS_DISPLAY_SHELL (shell), NULL);
|
||||
|
||||
|
@ -56,7 +56,7 @@ GimpCanvasItem * gimp_canvas_limit_new (GimpDisplayShell *shell,
|
||||
gdouble radius,
|
||||
gdouble aspect_ratio,
|
||||
gdouble angle,
|
||||
gdouble dashed);
|
||||
gboolean dashed);
|
||||
|
||||
void gimp_canvas_limit_get_radii (GimpCanvasLimit *limit,
|
||||
gdouble *rx,
|
||||
|
@ -702,7 +702,7 @@ gimp_tool_widget_add_limit (GimpToolWidget *widget,
|
||||
gdouble radius,
|
||||
gdouble aspect_ratio,
|
||||
gdouble angle,
|
||||
gdouble dashed)
|
||||
gboolean dashed)
|
||||
{
|
||||
GimpCanvasItem *item;
|
||||
|
||||
|
@ -211,7 +211,7 @@ GimpCanvasItem * gimp_tool_widget_add_limit (GimpToolWidget *widget,
|
||||
gdouble radius,
|
||||
gdouble aspect_ratio,
|
||||
gdouble angle,
|
||||
gdouble dashed);
|
||||
gboolean dashed);
|
||||
GimpCanvasItem * gimp_tool_widget_add_polygon (GimpToolWidget *widget,
|
||||
GimpMatrix3 *transform,
|
||||
const GimpVector2 *points,
|
||||
|
Reference in New Issue
Block a user