summaryrefslogtreecommitdiffstats
path: root/perl_checker_fake_packages/gen.pl
diff options
context:
space:
mode:
Diffstat (limited to 'perl_checker_fake_packages/gen.pl')
-rwxr-xr-xperl_checker_fake_packages/gen.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl_checker_fake_packages/gen.pl b/perl_checker_fake_packages/gen.pl
index 12362a0..580972d 100755
--- a/perl_checker_fake_packages/gen.pl
+++ b/perl_checker_fake_packages/gen.pl
@@ -127,7 +127,7 @@ sub gtk2 {
my ($trimlast) = $file =~ /([A-Z]\w+)\.c$/;
while ($trimlast =~ s/([a-z])([A-Z])/$1_$2/) {}
- $trimlast =~ s/^G([A-Z])/$1/; #- glib case
+ $file =~ /\bGC\b/ or $trimlast =~ s/^G([A-Z])/$1/; #- glib case
$file =~ m|Gdk/Event/src| and $trimlast = "event_$trimlast"; #- gdkevent case
$trimlast = lc($trimlast);
#- skip functions that will not be exported anyway because don't follow the naming scheme