diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/interactive/gtk.pm | 2 | ||||
-rwxr-xr-x | perl-install/standalone/display_help | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/interactive/gtk.pm b/perl-install/interactive/gtk.pm index f5016d2a7..1886cfd45 100644 --- a/perl-install/interactive/gtk.pm +++ b/perl-install/interactive/gtk.pm @@ -15,7 +15,7 @@ my $forgetTime = 1000; #- in milli-seconds sub new { my $w = &interactive::new; - ($w->{windowwidth}, $w->{windowheight}) = gtkroot()->get_size if !$::isInstall; + ($w->{windowwidth}, $w->{windowheight}) = mygtk3::root_window_size() if !$::isInstall; $w; } sub enter_console { my ($o) = @_; $o->{suspended} = common::setVirtual(1) } diff --git a/perl-install/standalone/display_help b/perl-install/standalone/display_help index bd857d092..b977f0532 100755 --- a/perl-install/standalone/display_help +++ b/perl-install/standalone/display_help @@ -36,7 +36,7 @@ $view->signal_connect('close-web-view', sub { ugtk3::exit(0) }); $view->open($ARGV[0]); # FIXME: merge this with mcc code into new mygtk3::set_standalone_main_window_size()? -my ($rootwin_width, $rootwin_height) = gtkroot()->get_size; +my ($rootwin_width, $rootwin_height) = mygtk3::root_window_size(); my ($default_width, $default_height); my $wm = any::running_window_manager(); my $is_firstime = to_bool($wm =~ /drakx-matchbox-window-manager/); |