diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-09 16:01:00 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2003-07-09 16:01:00 +0000 |
commit | bdd3c581cde1d9fed4cf5c42062a83cec3fbb1ce (patch) | |
tree | 508433b3a3d1eea11fa8b96623b7cdde3616a01e /perl-install/Xconfig/test.pm | |
parent | 2403c1c4d98749fbef5740c7dcaccc017da890a9 (diff) | |
download | drakx-bdd3c581cde1d9fed4cf5c42062a83cec3fbb1ce.tar drakx-bdd3c581cde1d9fed4cf5c42062a83cec3fbb1ce.tar.gz drakx-bdd3c581cde1d9fed4cf5c42062a83cec3fbb1ce.tar.bz2 drakx-bdd3c581cde1d9fed4cf5c42062a83cec3fbb1ce.tar.xz drakx-bdd3c581cde1d9fed4cf5c42062a83cec3fbb1ce.zip |
switch from gtk2-perl to gtk2-perl-xs
Diffstat (limited to 'perl-install/Xconfig/test.pm')
-rw-r--r-- | perl-install/Xconfig/test.pm | 3 |
1 files changed, 1 insertions, 2 deletions
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; |