refactor: make Widget.get method const

This commit is contained in:
CJ van den Berg 2026-01-06 19:22:24 +01:00
parent 902fc0ab75
commit c1200ac5bd
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9
5 changed files with 12 additions and 13 deletions

View file

@ -217,7 +217,7 @@ pub const TabBar = struct {
self.plane = self.widget_list.plane;
}
pub fn get(self: *Self, name: []const u8) ?*Widget {
pub fn get(self: *const Self, name: []const u8) ?*const Widget {
return self.widget_list_widget.get(name);
}