From bdd3c581cde1d9fed4cf5c42062a83cec3fbb1ce Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Wed, 9 Jul 2003 16:01:00 +0000 Subject: switch from gtk2-perl to gtk2-perl-xs --- perl-install/Xconfig/test.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'perl-install/Xconfig/test.pm') diff --git a/perl-install/Xconfig/test.pm b/perl-install/Xconfig/test.pm index abcce4008..d14cca755 100644 --- a/perl-install/Xconfig/test.pm +++ b/perl-install/Xconfig/test.pm @@ -128,7 +128,7 @@ sub test { $ugtk2::force_focus = 1; my $text = Gtk2::Label->new; my $time = 12; - Gtk2->timeout_add(1000, sub { + Glib::Timeout->add(1000, sub { $text->set(sprintf(translate("%s"), $time)); $time-- or Gtk2->main_quit; 1; @@ -143,7 +143,6 @@ sub test { $pixbuf->render_to_drawable($pixmap, $gc, 0, 0, 0, 0, $w, $h, 'none', 0, 0); $root->set_back_pixmap($pixmap, 0); $root->clear; - $gc->unref; }; my $in = interactive::gtk->new; -- cgit v1.2.1