[gimp] app: fix signature of gimp_gegl_procedure_get_sensitive()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix signature of gimp_gegl_procedure_get_sensitive()
- Date: Fri, 22 Jun 2018 11:55:32 +0000 (UTC)
commit 7c3191fdd0b5493764ca5547c3ffbd43e283c1a0
Author: Michael Natterer <mitch gimp org>
Date: Fri Jun 22 13:54:23 2018 +0200
app: fix signature of gimp_gegl_procedure_get_sensitive()
app/actions/gimpgeglprocedure.c | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/app/actions/gimpgeglprocedure.c b/app/actions/gimpgeglprocedure.c
index 587ec9e5a5..efcf3e8163 100644
--- a/app/actions/gimpgeglprocedure.c
+++ b/app/actions/gimpgeglprocedure.c
@@ -67,7 +67,8 @@ static const gchar * gimp_gegl_procedure_get_label (GimpProcedure *procedu
static const gchar * gimp_gegl_procedure_get_menu_label (GimpProcedure *procedure);
static const gchar * gimp_gegl_procedure_get_help_id (GimpProcedure *procedure);
static gboolean gimp_gegl_procedure_get_sensitive (GimpProcedure *procedure,
- GimpObject *object);
+ GimpObject *object,
+ const gchar **tooltip);
static GimpValueArray * gimp_gegl_procedure_execute (GimpProcedure *procedure,
Gimp *gimp,
GimpContext *context,
@@ -201,16 +202,13 @@ gimp_gegl_procedure_get_help_id (GimpProcedure *procedure)
}
static gboolean
-gimp_gegl_procedure_get_sensitive (GimpProcedure *procedure,
- GimpObject *object)
+gimp_gegl_procedure_get_sensitive (GimpProcedure *procedure,
+ GimpObject *object,
+ const gchar **tooltip)
{
- GimpDrawable *drawable;
+ GimpDrawable *drawable = GIMP_DRAWABLE (object);;
gboolean sensitive = FALSE;
- g_return_val_if_fail (object == NULL || GIMP_IS_DRAWABLE (object), FALSE);
-
- drawable = GIMP_DRAWABLE (object);
-
if (drawable)
{
GimpItem *item;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]