[gimp] pdb: prepend GEGL enum types with GEGL_TYPE.



commit 11dcabc46f4439b264fbfeefd9838262ecc0953c
Author: Jehan <jehan girinstud io>
Date:   Sun Mar 18 00:33:04 2018 +0100

    pdb: prepend GEGL enum types with GEGL_TYPE.
    
    Since now we can also support some GEGL type in the PDB, this completes
    commit 390ef44481 for proper support.

 pdb/app.pl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/pdb/app.pl b/pdb/app.pl
index e758812..4e710a5 100644
--- a/pdb/app.pl
+++ b/pdb/app.pl
@@ -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});


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]