www/tuba: fix build

OK: tb@ sthen@
This commit is contained in:
kirill
2025-10-01 17:08:20 +00:00
parent df94cb782f
commit 8eabbf7d7d
2 changed files with 24 additions and 0 deletions
@@ -0,0 +1,12 @@
Index: src/Views/Admin/Pages/Accounts.vala
--- src/Views/Admin/Pages/Accounts.vala.orig
+++ src/Views/Admin/Pages/Accounts.vala
@@ -53,7 +53,7 @@ public class Tuba.Views.Admin.Page.Accounts : Views.Ad
Adw.BreakpointConditionLengthType.MAX_WIDTH,
450, Adw.LengthUnit.SP
);
- var breakpoint = new Adw.Breakpoint (condition);
+ var breakpoint = new Adw.Breakpoint ((owned) condition);
breakpoint.add_setter (revealer_box, "halign", Gtk.Align.FILL);
breakpoint.add_setter (entry_box_1, "orientation", Gtk.Orientation.VERTICAL);
breakpoint.add_setter (entry_box_2, "orientation", Gtk.Orientation.VERTICAL);
@@ -0,0 +1,12 @@
Index: src/Views/TabbedBase.vala
--- src/Views/TabbedBase.vala.orig
+++ src/Views/TabbedBase.vala
@@ -83,7 +83,7 @@ public class Tuba.Views.TabbedBase : Views.Base {
Adw.BreakpointConditionLengthType.MAX_WIDTH,
550, Adw.LengthUnit.SP
);
- var breakpoint = new Adw.Breakpoint (condition);
+ var breakpoint = new Adw.Breakpoint ((owned) condition);
breakpoint.add_setter (this, "title-stack-page-visible", true);
breakpoint.add_setter (switcher_bar, "reveal", true);
add_breakpoint (breakpoint);