[gimp/gimp-2-10] app: fix signature of gimp_canvas_limit_new()
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app: fix signature of gimp_canvas_limit_new()
- Date: Thu, 14 May 2020 21:56:21 +0000 (UTC)
commit 92baa76e111fb5bf4748bb44c55c72b8b08609a0
Author: Ell <ell_se yahoo com>
Date: Fri May 15 00:55:07 2020 +0300
app: fix signature of gimp_canvas_limit_new()
... and gimp_tool_widget_add_limit().
(cherry picked from commit 9fe589734b4be3a2d7b4d999757f3facdbe0cd42)
app/display/gimpcanvaslimit.c | 2 +-
app/display/gimpcanvaslimit.h | 2 +-
app/display/gimptoolwidget.c | 2 +-
app/display/gimptoolwidget.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/display/gimpcanvaslimit.c b/app/display/gimpcanvaslimit.c
index 098951c878..05dacbbc55 100644
--- a/app/display/gimpcanvaslimit.c
+++ b/app/display/gimpcanvaslimit.c
@@ -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);
diff --git a/app/display/gimpcanvaslimit.h b/app/display/gimpcanvaslimit.h
index cf2080e6d6..cf6ffc8ea5 100644
--- a/app/display/gimpcanvaslimit.h
+++ b/app/display/gimpcanvaslimit.h
@@ -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,
diff --git a/app/display/gimptoolwidget.c b/app/display/gimptoolwidget.c
index f06b83a614..0ac0f0d189 100644
--- a/app/display/gimptoolwidget.c
+++ b/app/display/gimptoolwidget.c
@@ -702,7 +702,7 @@ gimp_tool_widget_add_limit (GimpToolWidget *widget,
gdouble radius,
gdouble aspect_ratio,
gdouble angle,
- gdouble dashed)
+ gboolean dashed)
{
GimpCanvasItem *item;
diff --git a/app/display/gimptoolwidget.h b/app/display/gimptoolwidget.h
index a100d792cf..f1010ea9b8 100644
--- a/app/display/gimptoolwidget.h
+++ b/app/display/gimptoolwidget.h
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]