aboutsummaryrefslogtreecommitdiff
path: root/src/main-window.vala
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-04 11:26:18 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-06-04 11:26:18 +0200
commitdd603ac1b726ee5b6e6a4d1c9e9e7732d5bbea99 (patch)
tree98f819f2e18bbc3436475d103e73c0fbafbd426d /src/main-window.vala
parent8286af78a5ab0e783cbcdb81067264c8b5475b7c (diff)
downloadarctica-greeter-dd603ac1b726ee5b6e6a4d1c9e9e7732d5bbea99.tar.gz
arctica-greeter-dd603ac1b726ee5b6e6a4d1c9e9e7732d5bbea99.tar.bz2
arctica-greeter-dd603ac1b726ee5b6e6a4d1c9e9e7732d5bbea99.zip
Revert "Work around GTK 3.20's new allocation logic. Ported from slick-greeter."
This reverts commit 2fa9791d9802d5c34323d9bd99ad9fa608abdda6.
Diffstat (limited to 'src/main-window.vala')
-rw-r--r--src/main-window.vala2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main-window.vala b/src/main-window.vala
index ad2700a..9b7a43b 100644
--- a/src/main-window.vala
+++ b/src/main-window.vala
@@ -125,8 +125,6 @@ public class MainWindow : Gtk.Window
align.add (hbox);
align = new Gtk.Alignment (0.5f, 0.5f, 0.0f, 0.0f);
- // Hack to avoid gtk 3.20's new allocate logic, which messes us up.
- align.resize_mode = Gtk.ResizeMode.QUEUE;
align.set_size_request (grid_size, -1);
align.margin_bottom = MENUBAR_HEIGHT; /* offset for menubar at top */
align.show ();