diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2002-09-03 11:42:14 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2002-09-03 11:42:14 +0000 |
commit | 588e75f9d56152a514fee8643fec5605a4c26042 (patch) | |
tree | 7b163dadb4fd98bab0cd5b900a4580b08847797a | |
parent | cf3e8b7c80384c13a9ce0949bceb48ae7058f26c (diff) | |
download | drakx-backup-do-not-use-588e75f9d56152a514fee8643fec5605a4c26042.tar drakx-backup-do-not-use-588e75f9d56152a514fee8643fec5605a4c26042.tar.gz drakx-backup-do-not-use-588e75f9d56152a514fee8643fec5605a4c26042.tar.bz2 drakx-backup-do-not-use-588e75f9d56152a514fee8643fec5605a4c26042.tar.xz drakx-backup-do-not-use-588e75f9d56152a514fee8643fec5605a4c26042.zip |
meuh gtk init
-rw-r--r-- | perl-install/ugtk.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/ugtk.pm b/perl-install/ugtk.pm index 25e3b9f0a..9dbc66461 100644 --- a/perl-install/ugtk.pm +++ b/perl-install/ugtk.pm @@ -18,8 +18,7 @@ my $use_imlib; my $use_gnome; BEGIN { - require Gtk; - Gtk->init; + eval { require Gtk; Gtk->init }; eval { require Gtk::Gdk::Pixbuf; Gtk::Gdk::Pixbuf->init }; $use_pixbuf = $@ ? 0 : 1; eval { require Gtk::Gdk::ImlibImage; Gtk::Gdk::ImlibImage->init }; @@ -28,6 +27,8 @@ BEGIN { $use_gnome = $@ ? 0 : 1; } +use Gtk; + use c; use log; use common; |