diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-12-13 15:21:31 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-12-13 15:21:31 +0000 |
commit | b81aa6049d4a578a8a9d18919b4df26733a33857 (patch) | |
tree | c6f99355c10be92d013358d8e1dcd9d21ae29622 /perl-install/mygtk2.pm | |
parent | 0833944b0b78527132d7dd14db26f2db8ecf1473 (diff) | |
download | drakx-b81aa6049d4a578a8a9d18919b4df26733a33857.tar drakx-b81aa6049d4a578a8a9d18919b4df26733a33857.tar.gz drakx-b81aa6049d4a578a8a9d18919b4df26733a33857.tar.bz2 drakx-b81aa6049d4a578a8a9d18919b4df26733a33857.tar.xz drakx-b81aa6049d4a578a8a9d18919b4df26733a33857.zip |
(register_main_window) add it for tracking main windows
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r-- | perl-install/mygtk2.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm index 1f97b02d6..f8f13c733 100644 --- a/perl-install/mygtk2.pm +++ b/perl-install/mygtk2.pm @@ -1466,6 +1466,11 @@ sub sync_flush { } +sub register_main_window { + my ($w) = @_; + push @::main_windows, $::main_window = $w +} + sub may_destroy { my ($w) = @_; return if !$w; |