Commit 11dcabc4 authored by Jehan's avatar Jehan
Browse files

pdb: prepend GEGL enum types with GEGL_TYPE.

Since now we can also support some GEGL type in the PDB, this completes
commit 390ef444 for proper support.
parent 390ef444
......@@ -444,6 +444,7 @@ CODE
$enum_type =~ s/([A-Z]+)([A-Z])/$1_$2/g;
$enum_type =~ tr/[a-z]/[A-Z]/;
$enum_type =~ s/^GIMP/GIMP_TYPE/;
$enum_type =~ s/^GEGL/GEGL_TYPE/;
$default = exists $arg->{default} ? $arg->{default} : $enums{$typeinfo[0]}->{symbols}[0];
my ($foo, $bar, @remove) = &arg_parse($arg->{type});
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