diff options
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r-- | perl-install/ugtk2.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index 7e5f9df0e..34f887303 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -138,7 +138,8 @@ sub gtkradio { } sub gtkroot { - Gtk2::Gdk::Window->foreign_new(Gtk2::Gdk->ROOT_WINDOW); + my $root if 0; + $root ||= Gtk2::Gdk::Window->foreign_new(Gtk2::Gdk->ROOT_WINDOW); } sub gtkset_text { |