diff options
-rwxr-xr-x | control-center | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center index 0e796769..c81d872c 100755 --- a/control-center +++ b/control-center @@ -46,7 +46,7 @@ my (%tool_pids, %tool_feedback, $gurpmi_pid); my ($conffile, $class_install) = ('/etc/mcc.conf', '/etc/sysconfig/system'); -my ($rootwin_width, $rootwin_height) = gtkroot()->get_size; +my ($rootwin_width, $rootwin_height) = mygtk3::root_window_size(); my $default_width = $rootwin_width <= 800 ? 720 : 800; my $default_height = $rootwin_height <= 480 ? 420 : $rootwin_height <= 600 ? 523 : 600; |