app: fix signature of gimp_gegl_procedure_get_sensitive()

This commit is contained in:
Michael Natterer 2018-06-22 13:54:23 +02:00
parent 63817485c0
commit 7c3191fdd0
1 changed files with 6 additions and 8 deletions

View File

@ -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;