summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xlib/network/netcenter.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/netcenter.pm b/lib/network/netcenter.pm
index 6a8b6d4..f039dfc 100755
--- a/lib/network/netcenter.pm
+++ b/lib/network/netcenter.pm
@@ -162,7 +162,7 @@ sub main {
my @cmanagers = map { build_cmanager($in, $net, $w, $_) } @connections;
- (undef, my $rootwin_height) = gtkroot()->get_size;
+ (undef, my $rootwin_height) = mygtk3::root_window_size();
my $scrolled_height = $rootwin_height > 480 ? 400 : 295;
my $managers_box;
gtkadd($w->{window},