diff options
author | Robert Tari <robert@tari.in> | 2023-05-06 02:45:49 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-05-07 20:52:12 +0200 |
commit | a919238f30e02cc996eb842d0ab4a0922964d77e (patch) | |
tree | 36e607e14c015b75b5627206522c74ad847bee33 /src/main-window.vala | |
parent | a2240b30a817a367c85c9de6063acf1222a0fac3 (diff) | |
download | arctica-greeter-a919238f30e02cc996eb842d0ab4a0922964d77e.tar.gz arctica-greeter-a919238f30e02cc996eb842d0ab4a0922964d77e.tar.bz2 arctica-greeter-a919238f30e02cc996eb842d0ab4a0922964d77e.zip |
Fix some deprecations
Diffstat (limited to 'src/main-window.vala')
-rw-r--r-- | src/main-window.vala | 5 |
1 files changed, 2 insertions, 3 deletions
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 ()); } |