gui/blueprint: Drop unneeded casts to built-ins

Blueprint can now "infer" the type a closure returns, as long as it is
not the property of a custom GType, so some of the casts (e.g. `as
<string>`) will not be necessary anymore

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/733>
This commit is contained in:
Zoey Ahmed
2026-03-24 16:43:10 +00:00
committed by Marge Bot
parent c0063f29c8
commit fbfacb6972
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ using Adw 1;
template $GcalOrganizerRow: Adw.ActionRow {
title: _("Organizer");
subtitle: bind $generate_subtitle(template.organizer) as <string>;
subtitle: bind $generate_subtitle(template.organizer);
styles [
"property",