summaryrefslogtreecommitdiffstats
path: root/perl-install/my_gtk.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2002-08-01 13:23:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2002-08-01 13:23:01 +0000
commitb906a8be6a26923fae7a6a0bf282b471f7f5848f (patch)
treef875741a586c4975f458c445973a77aae7d4c3b2 /perl-install/my_gtk.pm
parent4b469c8f9c0a667ecae61055071f6dd9ce790ba2 (diff)
downloaddrakx-backup-do-not-use-b906a8be6a26923fae7a6a0bf282b471f7f5848f.tar
drakx-backup-do-not-use-b906a8be6a26923fae7a6a0bf282b471f7f5848f.tar.gz
drakx-backup-do-not-use-b906a8be6a26923fae7a6a0bf282b471f7f5848f.tar.bz2
drakx-backup-do-not-use-b906a8be6a26923fae7a6a0bf282b471f7f5848f.tar.xz
drakx-backup-do-not-use-b906a8be6a26923fae7a6a0bf282b471f7f5848f.zip
move back Gtk->init to "new" and "gtkroot"
Diffstat (limited to 'perl-install/my_gtk.pm')
-rw-r--r--perl-install/my_gtk.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/my_gtk.pm b/perl-install/my_gtk.pm
index 87ff1fa20..fc76b3037 100644
--- a/perl-install/my_gtk.pm
+++ b/perl-install/my_gtk.pm
@@ -28,6 +28,9 @@ $border = 5;
sub new {
my ($type, $title, %opts) = @_;
+ Gtk->init;
+ Gtk->set_locale;
+
my $o = bless { %opts }, $type;
$o->_create_window($title);
while (my $e = shift @tempory::objects) { $e->destroy }