[iagno/arnaudb/wip/gtk4: 19/54] Adapt to new size_allocate() method.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [iagno/arnaudb/wip/gtk4: 19/54] Adapt to new size_allocate() method.
- Date: Thu, 30 Apr 2020 13:19:01 +0000 (UTC)
commit 70a12887aae2f2a2ebf65de704f22f436799131e
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Fri Feb 14 19:09:50 2020 +0100
Adapt to new size_allocate() method.
src/adaptative-window.vala | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/src/adaptative-window.vala b/src/adaptative-window.vala
index fbdbd0d..b562024 100644
--- a/src/adaptative-window.vala
+++ b/src/adaptative-window.vala
@@ -261,11 +261,8 @@ private abstract class AdaptativeWindow : ApplicationWindow
protected abstract void on_unfullscreen ();
[GtkCallback]
- private void on_size_allocate (Allocation allocation)
+ private void on_size_allocate (int width, int height)
{
- int height = allocation.height;
- int width = allocation.width;
-
update_adaptative_children (ref width, ref height);
update_window_state ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]