From 8daa6d76cecf4ee61436a5e60ce5de16c698b3cb Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 29 Apr 2003 21:37:47 +0000 Subject: fix missing functions from GC --- perl_checker_fake_packages/Gtk2.pm | 2 ++ perl_checker_fake_packages/gen.pl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'perl_checker_fake_packages') diff --git a/perl_checker_fake_packages/Gtk2.pm b/perl_checker_fake_packages/Gtk2.pm index 3ed5e4c..72aa0a0 100644 --- a/perl_checker_fake_packages/Gtk2.pm +++ b/perl_checker_fake_packages/Gtk2.pm @@ -2550,6 +2550,8 @@ sub Gtk2::set_resizable { my ($_DUMMY0, $_DUMMY1) = @_ } sub Gtk2::set_resize_mode { my ($_container, $_resize_mode) = @_ } sub Gtk2::set_response_sensitive { my ($_dialog, $_response_id, $_setting) = @_ } sub Gtk2::set_rgb { my ($_gc, $_red, $_green, $_blue) = @_ } +sub Gtk2::set_rgb_bg_color { my ($_gc, $_color) = @_ } +sub Gtk2::set_rgb_fg_color { my ($_gc, $_color) = @_ } sub Gtk2::set_right_margin { my ($_text_view, $_right_margin) = @_ } sub Gtk2::set_role { my ($_window, $_role) = @_ } sub Gtk2::set_row_height { my ($_clist, $_height) = @_ } 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 -- cgit v1.2.1