Commit 0ced7458 authored by Michael Natterer's avatar Michael Natterer 😴
Browse files

Revert "pdb: Mark unused args as dead"

This reverts commit d2cac94a
and commit 7241a35b.

gimp-drawable-foreground-extract will be revived before 2.10, the
warnings are a nice reminder :)
parent 7241a35b
......@@ -926,6 +926,14 @@ drawable_foreground_extract_invoker (GimpProcedure *procedure,
GError **error)
{
gboolean success = TRUE;
GimpDrawable *drawable;
gint32 mode;
GimpDrawable *mask;
drawable = gimp_value_get_drawable (gimp_value_array_index (args, 0), gimp);
mode = g_value_get_enum (gimp_value_array_index (args, 1));
mask = gimp_value_get_drawable (gimp_value_array_index (args, 2), gimp);
if (success)
{
/*
......@@ -936,6 +944,7 @@ drawable_foreground_extract_invoker (GimpProcedure *procedure,
*/
success = FALSE;
}
return gimp_procedure_get_return_values (procedure, success,
error ? *error : NULL);
}
......
......@@ -939,11 +939,11 @@ HELP
$since = '2.4';
@inargs = (
{ name => 'drawable', type => 'drawable', dead => 1,
{ name => 'drawable', type => 'drawable',
desc => 'The drawable' },
{ name => 'mode', type => 'enum GimpForegroundExtractMode', dead => 1,
{ name => 'mode', type => 'enum GimpForegroundExtractMode',
desc => 'The algorithm to use' },
{ name => 'mask', type => 'drawable', dead => 1, desc => 'Tri-Map' }
{ name => 'mask', type => 'drawable', desc => 'Tri-Map' }
);
%invoke = (
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment