From 83c2966b6e3382d77fb924bdd2cc95827434127b Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 18 Nov 2013 02:46:00 +0100 Subject: fix computing root_window size --- control-center | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1