aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xMageiaUpdate2
-rwxr-xr-xrpmdrake2
2 files changed, 2 insertions, 2 deletions
diff --git a/MageiaUpdate b/MageiaUpdate
index f111c31e..4dbe3d35 100755
--- a/MageiaUpdate
+++ b/MageiaUpdate
@@ -138,7 +138,7 @@ sub run_treeview_dialog {
my ($list, $info, $update_button);
- my $rootwin_height = second(gtkroot()->get_size);
+ my $rootwin_height = second(mygtk3::root_window_size());
my $is_small_screen = $rootwin_height <= 480;
compute_main_window_size($w);
diff --git a/rpmdrake b/rpmdrake
index 9b4477f3..3259476c 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -679,7 +679,7 @@ sub run_treeview_dialog {
gtkpack_(
gtknew('VBox', spacing => 3),
0, $menu,
- if_(second(gtkroot()->get_size) >= 600, 0, getbanner()),
+ if_(second(mygtk3::root_window_size()) >= 600, 0, getbanner()),
1, gtkadd(
gtknew('Frame', border_width => 3, shadow_type => 'none'),
gtkpack_(