summaryrefslogtreecommitdiffstats
path: root/perl-install/mygtk2.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/mygtk2.pm')
-rw-r--r--perl-install/mygtk2.pm5
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;