From a919238f30e02cc996eb842d0ab4a0922964d77e Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Sat, 6 May 2023 02:45:49 +0200 Subject: Fix some deprecations --- src/main-window.vala | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/main-window.vala') diff --git a/src/main-window.vala b/src/main-window.vala index fd1e19c..32df287 100644 --- a/src/main-window.vala +++ b/src/main-window.vala @@ -52,7 +52,6 @@ public class MainWindow : Gtk.Window bg_color.parse (AGSettings.get_string (AGSettings.KEY_BACKGROUND_COLOR)); override_background_color (Gtk.StateFlags.NORMAL, bg_color); get_accessible ().set_name (_("Login Screen")); - has_resize_grip = false; ArcticaGreeter.add_style_class (this); background = new Background (); @@ -201,8 +200,8 @@ public class MainWindow : Gtk.Window if (hbox != null) { - hbox.margin_left = get_grid_offset (get_allocated_width ()) + grid_size; - hbox.margin_right = get_grid_offset (get_allocated_width ()); + hbox.margin_start = get_grid_offset (get_allocated_width ()) + grid_size; + hbox.margin_end = get_grid_offset (get_allocated_width ()); hbox.margin_top = get_grid_offset (get_allocated_height ()); hbox.margin_bottom = get_grid_offset (get_allocated_height ()); } -- cgit v1.2.3