[five-or-more/arnaudb/wip/gtk4: 11/19] Adapt size_allocate.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [five-or-more/arnaudb/wip/gtk4: 11/19] Adapt size_allocate.
- Date: Sun, 12 Apr 2020 11:09:25 +0000 (UTC)
commit 2106792b19222c3ca3106fa182e427321c8d0836
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Thu Mar 26 13:49:12 2020 +0100
Adapt size_allocate.
src/window.vala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/window.vala b/src/window.vala
index b238a77..cfcca52 100644
--- a/src/window.vala
+++ b/src/window.vala
@@ -57,6 +57,7 @@ private class GameWindow : ApplicationWindow
construct
{
+ size_allocate.connect (on_size_allocate);
map.connect (init_state_watcher);
}
@@ -122,7 +123,7 @@ private class GameWindow : ApplicationWindow
window_tiled = (state & tiled_state) != 0;
}
- protected override void size_allocate (int width, int height, int baseline)
+ private void on_size_allocate (int width, int height, int baseline)
{
if (window_maximized || window_tiled)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]