diff options
author | Guillaume Cottenceau <gc@mandriva.com> | 2003-01-21 21:30:26 +0000 |
---|---|---|
committer | Guillaume Cottenceau <gc@mandriva.com> | 2003-01-21 21:30:26 +0000 |
commit | ce4ab206f27055fc7459d04a5173efa132e7f43c (patch) | |
tree | 1fd1277b2a4082c80e560391e0a75595fc7e274e /perl-install | |
parent | c4f34137b06385ba0e98a0613f9591d83be4398d (diff) | |
download | drakx-ce4ab206f27055fc7459d04a5173efa132e7f43c.tar drakx-ce4ab206f27055fc7459d04a5173efa132e7f43c.tar.gz drakx-ce4ab206f27055fc7459d04a5173efa132e7f43c.tar.bz2 drakx-ce4ab206f27055fc7459d04a5173efa132e7f43c.tar.xz drakx-ce4ab206f27055fc7459d04a5173efa132e7f43c.zip |
seems like gdk_window_foreign_new is leaking as well..
Diffstat (limited to 'perl-install')
-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 { |