diff --git a/Sources/Adwaita/View/Dialogs/AboutDialog.swift b/Sources/Adwaita/View/Dialogs/AboutDialog.swift index 106fdde..f120f12 100644 --- a/Sources/Adwaita/View/Dialogs/AboutDialog.swift +++ b/Sources/Adwaita/View/Dialogs/AboutDialog.swift @@ -68,9 +68,7 @@ struct AboutDialog: AdwaitaWidget { /// - type: The view render data type. /// - Returns: The view storage. func container(data: WidgetData, type: Data.Type) -> ViewStorage where Data: ViewRenderData { - let storage = child.storage(data: data, type: type) - update(storage, data: data, updateProperties: true, type: type) - return storage + child.storage(data: data, type: type) } /// Update the stored content. diff --git a/Sources/Adwaita/View/Dialogs/AlertDialog.swift b/Sources/Adwaita/View/Dialogs/AlertDialog.swift index d741c8d..3a91178 100644 --- a/Sources/Adwaita/View/Dialogs/AlertDialog.swift +++ b/Sources/Adwaita/View/Dialogs/AlertDialog.swift @@ -106,9 +106,7 @@ public struct AlertDialog: AdwaitaWidget { data: WidgetData, type: Data.Type ) -> ViewStorage where Data: ViewRenderData { - let storage = child.storage(data: data, type: type) - update(storage, data: data, updateProperties: true, type: type) - return storage + child.storage(data: data, type: type) } /// Update the stored content. diff --git a/Sources/Adwaita/View/Dialogs/Dialog.swift b/Sources/Adwaita/View/Dialogs/Dialog.swift index 8a533e9..083816a 100644 --- a/Sources/Adwaita/View/Dialogs/Dialog.swift +++ b/Sources/Adwaita/View/Dialogs/Dialog.swift @@ -64,9 +64,7 @@ struct Dialog: AdwaitaWidget { /// - Returns: The view storage. func container(data: WidgetData, type: Data.Type) -> ViewStorage where Data: ViewRenderData { let child = child.storage(data: data, type: type) - let storage = ViewStorage(child.opaquePointer, content: [.mainContent: [child]]) - update(storage, data: data, updateProperties: true, type: type) - return storage + return .init(child.opaquePointer, content: [.mainContent: [child]]) } /// Update the stored content. diff --git a/Sources/Adwaita/View/Dialogs/FileDialog.swift b/Sources/Adwaita/View/Dialogs/FileDialog.swift index 5eba69e..0653ddc 100644 --- a/Sources/Adwaita/View/Dialogs/FileDialog.swift +++ b/Sources/Adwaita/View/Dialogs/FileDialog.swift @@ -105,9 +105,7 @@ struct FileDialog: AdwaitaWidget { /// - Returns: The view storage. func container(data: WidgetData, type: Data.Type) -> ViewStorage where Data: ViewRenderData { let child = child.storage(data: data, type: type) - let storage = ViewStorage(child.opaquePointer, content: [.mainContent: [child]]) - update(storage, data: data, updateProperties: true, type: type) - return storage + return .init(child.opaquePointer, content: [.mainContent: [child]]) } /// Update the stored content. diff --git a/Sources/Adwaita/View/Dialogs/PreferencesDialog.swift b/Sources/Adwaita/View/Dialogs/PreferencesDialog.swift index 82808dc..875e548 100644 --- a/Sources/Adwaita/View/Dialogs/PreferencesDialog.swift +++ b/Sources/Adwaita/View/Dialogs/PreferencesDialog.swift @@ -153,9 +153,7 @@ public struct PreferencesDialog: AdwaitaWidget { /// - Returns: The view storage. public func container(data: WidgetData, type: Data.Type) -> ViewStorage where Data: ViewRenderData { let child = child.storage(data: data, type: type) - let storage = ViewStorage(child.opaquePointer, content: [.mainContent: [child]]) - update(storage, data: data, updateProperties: true, type: type) - return storage + return .init(child.opaquePointer, content: [.mainContent: [child]]) } /// Update the stored content. diff --git a/Sources/Adwaita/View/Dialogs/ShortcutsDialog.swift b/Sources/Adwaita/View/Dialogs/ShortcutsDialog.swift index b35ea30..dce2a76 100644 --- a/Sources/Adwaita/View/Dialogs/ShortcutsDialog.swift +++ b/Sources/Adwaita/View/Dialogs/ShortcutsDialog.swift @@ -109,9 +109,7 @@ public struct ShortcutsDialog: AdwaitaWidget { /// - Returns: The view storage. public func container(data: WidgetData, type: Data.Type) -> ViewStorage where Data: ViewRenderData { let child = child.storage(data: data, type: type) - let storage = ViewStorage(child.opaquePointer, content: [.mainContent: [child]]) - update(storage, data: data, updateProperties: true, type: type) - return storage + return .init(child.opaquePointer, content: [.mainContent: [child]]) } /// Update the stored content. diff --git a/Sources/Adwaita/View/ForEach.swift b/Sources/Adwaita/View/ForEach.swift index 1fd8cb1..3f84ea9 100644 --- a/Sources/Adwaita/View/ForEach.swift +++ b/Sources/Adwaita/View/ForEach.swift @@ -36,11 +36,9 @@ public struct ForEach: AdwaitaWidget where Element: Identifiable { data: WidgetData, type: Data.Type ) -> ViewStorage where Data: ViewRenderData { - let storage = ViewStorage( + .init( gtk_box_new(horizontal ? GTK_ORIENTATION_HORIZONTAL : GTK_ORIENTATION_VERTICAL, 0)?.opaque() ) - update(storage, data: data, updateProperties: true, type: type) - return storage } /// Update the stored content. diff --git a/Sources/Adwaita/View/Generated/ActionRow.swift b/Sources/Adwaita/View/Generated/ActionRow.swift index b42144e..b34028f 100644 --- a/Sources/Adwaita/View/Generated/ActionRow.swift +++ b/Sources/Adwaita/View/Generated/ActionRow.swift @@ -2,7 +2,7 @@ // ActionRow.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -95,7 +95,6 @@ public struct ActionRow: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let activatableWidgetStorage = activatableWidget?.storage(data: data, type: type) { storage.content["activatableWidget"] = [activatableWidgetStorage] adw_action_row_set_activatable_widget(storage.opaquePointer?.cast(), activatableWidgetStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/AspectFrame.swift b/Sources/Adwaita/View/Generated/AspectFrame.swift index 1c6a420..897da47 100644 --- a/Sources/Adwaita/View/Generated/AspectFrame.swift +++ b/Sources/Adwaita/View/Generated/AspectFrame.swift @@ -2,7 +2,7 @@ // AspectFrame.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -54,7 +54,6 @@ public struct AspectFrame: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] gtk_aspect_frame_set_child(storage.opaquePointer, childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/Avatar.swift b/Sources/Adwaita/View/Generated/Avatar.swift index 05cb024..b296197 100644 --- a/Sources/Adwaita/View/Generated/Avatar.swift +++ b/Sources/Adwaita/View/Generated/Avatar.swift @@ -2,7 +2,7 @@ // Avatar.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -65,7 +65,6 @@ public struct Avatar: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/Banner.swift b/Sources/Adwaita/View/Generated/Banner.swift index 0129808..46f1c59 100644 --- a/Sources/Adwaita/View/Generated/Banner.swift +++ b/Sources/Adwaita/View/Generated/Banner.swift @@ -2,7 +2,7 @@ // Banner.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -72,7 +72,6 @@ public struct Banner: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/Bin.swift b/Sources/Adwaita/View/Generated/Bin.swift index dff750f..3de49e6 100644 --- a/Sources/Adwaita/View/Generated/Bin.swift +++ b/Sources/Adwaita/View/Generated/Bin.swift @@ -2,7 +2,7 @@ // Bin.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -41,7 +41,6 @@ public struct Bin: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] adw_bin_set_child(storage.opaquePointer?.cast(), childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/Box.swift b/Sources/Adwaita/View/Generated/Box.swift index 79f351a..728f943 100644 --- a/Sources/Adwaita/View/Generated/Box.swift +++ b/Sources/Adwaita/View/Generated/Box.swift @@ -2,7 +2,7 @@ // Box.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -73,7 +73,6 @@ public struct Box: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) var appendStorage: [ViewStorage] = [] for view in append() { diff --git a/Sources/Adwaita/View/Generated/Button.swift b/Sources/Adwaita/View/Generated/Button.swift index 7ddf48a..f05c1fb 100644 --- a/Sources/Adwaita/View/Generated/Button.swift +++ b/Sources/Adwaita/View/Generated/Button.swift @@ -2,7 +2,7 @@ // Button.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -74,7 +74,6 @@ public struct Button: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] gtk_button_set_child(storage.opaquePointer?.cast(), childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/ButtonContent.swift b/Sources/Adwaita/View/Generated/ButtonContent.swift index d494f79..f4cef1d 100644 --- a/Sources/Adwaita/View/Generated/ButtonContent.swift +++ b/Sources/Adwaita/View/Generated/ButtonContent.swift @@ -2,7 +2,7 @@ // ButtonContent.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -66,7 +66,6 @@ public struct ButtonContent: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/Carousel.swift b/Sources/Adwaita/View/Generated/Carousel.swift index 07156bc..98db7f1 100644 --- a/Sources/Adwaita/View/Generated/Carousel.swift +++ b/Sources/Adwaita/View/Generated/Carousel.swift @@ -2,7 +2,7 @@ // Carousel.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -80,7 +80,6 @@ public struct Carousel: AdwaitaWidget where Element: Identifiable { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/CenterBox.swift b/Sources/Adwaita/View/Generated/CenterBox.swift index 6125a2c..c9cc944 100644 --- a/Sources/Adwaita/View/Generated/CenterBox.swift +++ b/Sources/Adwaita/View/Generated/CenterBox.swift @@ -2,7 +2,7 @@ // CenterBox.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -70,7 +70,6 @@ public struct CenterBox: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let centerWidgetStorage = centerWidget?.storage(data: data, type: type) { storage.content["centerWidget"] = [centerWidgetStorage] gtk_center_box_set_center_widget(storage.opaquePointer, centerWidgetStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/CheckButton.swift b/Sources/Adwaita/View/Generated/CheckButton.swift index a24961c..386e30b 100644 --- a/Sources/Adwaita/View/Generated/CheckButton.swift +++ b/Sources/Adwaita/View/Generated/CheckButton.swift @@ -2,7 +2,7 @@ // CheckButton.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -79,7 +79,6 @@ public struct CheckButton: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] gtk_check_button_set_child(storage.opaquePointer?.cast(), childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/Clamp.swift b/Sources/Adwaita/View/Generated/Clamp.swift index eb648ac..8905d81 100644 --- a/Sources/Adwaita/View/Generated/Clamp.swift +++ b/Sources/Adwaita/View/Generated/Clamp.swift @@ -2,7 +2,7 @@ // Clamp.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -69,7 +69,6 @@ public struct Clamp: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] adw_clamp_set_child(storage.opaquePointer, childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/ComboRow.swift b/Sources/Adwaita/View/Generated/ComboRow.swift index 0d613b8..e66f899 100644 --- a/Sources/Adwaita/View/Generated/ComboRow.swift +++ b/Sources/Adwaita/View/Generated/ComboRow.swift @@ -2,7 +2,7 @@ // ComboRow.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -125,7 +125,6 @@ public struct ComboRow: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let activatableWidgetStorage = activatableWidget?.storage(data: data, type: type) { storage.content["activatableWidget"] = [activatableWidgetStorage] adw_action_row_set_activatable_widget(storage.opaquePointer?.cast(), activatableWidgetStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/DropDown.swift b/Sources/Adwaita/View/Generated/DropDown.swift index 07384a3..964086e 100644 --- a/Sources/Adwaita/View/Generated/DropDown.swift +++ b/Sources/Adwaita/View/Generated/DropDown.swift @@ -2,7 +2,7 @@ // DropDown.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -89,7 +89,6 @@ public struct DropDown: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/Entry.swift b/Sources/Adwaita/View/Generated/Entry.swift index f2ed6c5..95b535b 100644 --- a/Sources/Adwaita/View/Generated/Entry.swift +++ b/Sources/Adwaita/View/Generated/Entry.swift @@ -2,7 +2,7 @@ // Entry.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -279,7 +279,6 @@ public struct Entry: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let extraMenu { let childStorage = MenuCollection { extraMenu }.getMenu(data: data) storage.content["extraMenu"] = [childStorage] diff --git a/Sources/Adwaita/View/Generated/EntryRow.swift b/Sources/Adwaita/View/Generated/EntryRow.swift index b06ec6a..c52192e 100644 --- a/Sources/Adwaita/View/Generated/EntryRow.swift +++ b/Sources/Adwaita/View/Generated/EntryRow.swift @@ -2,7 +2,7 @@ // EntryRow.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -96,7 +96,6 @@ public struct EntryRow: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) var suffixStorage: [ViewStorage] = [] for view in suffix() { diff --git a/Sources/Adwaita/View/Generated/ExpanderRow.swift b/Sources/Adwaita/View/Generated/ExpanderRow.swift index 29d5ad3..79b48b7 100644 --- a/Sources/Adwaita/View/Generated/ExpanderRow.swift +++ b/Sources/Adwaita/View/Generated/ExpanderRow.swift @@ -2,7 +2,7 @@ // ExpanderRow.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -82,7 +82,6 @@ public struct ExpanderRow: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) var rowsStorage: [ViewStorage] = [] for view in rows() { diff --git a/Sources/Adwaita/View/Generated/Fixed.swift b/Sources/Adwaita/View/Generated/Fixed.swift index 22353a8..5e446f3 100644 --- a/Sources/Adwaita/View/Generated/Fixed.swift +++ b/Sources/Adwaita/View/Generated/Fixed.swift @@ -2,7 +2,7 @@ // Fixed.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -71,7 +71,6 @@ public struct Fixed: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/FlowBox.swift b/Sources/Adwaita/View/Generated/FlowBox.swift index 34acf0f..ea03005 100644 --- a/Sources/Adwaita/View/Generated/FlowBox.swift +++ b/Sources/Adwaita/View/Generated/FlowBox.swift @@ -2,7 +2,7 @@ // FlowBox.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -140,7 +140,6 @@ public struct FlowBox: AdwaitaWidget where Element: Identifiable { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/HeaderBar.swift b/Sources/Adwaita/View/Generated/HeaderBar.swift index 515e459..6e83181 100644 --- a/Sources/Adwaita/View/Generated/HeaderBar.swift +++ b/Sources/Adwaita/View/Generated/HeaderBar.swift @@ -2,7 +2,7 @@ // HeaderBar.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -92,7 +92,6 @@ public struct HeaderBar: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let titleWidgetStorage = titleWidget?.storage(data: data, type: type) { storage.content["titleWidget"] = [titleWidgetStorage] adw_header_bar_set_title_widget(storage.opaquePointer, titleWidgetStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/Image.swift b/Sources/Adwaita/View/Generated/Image.swift index 79d28b2..300f275 100644 --- a/Sources/Adwaita/View/Generated/Image.swift +++ b/Sources/Adwaita/View/Generated/Image.swift @@ -2,7 +2,7 @@ // Image.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -85,7 +85,6 @@ public struct Image: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/Label.swift b/Sources/Adwaita/View/Generated/Label.swift index befa5d5..4d7589b 100644 --- a/Sources/Adwaita/View/Generated/Label.swift +++ b/Sources/Adwaita/View/Generated/Label.swift @@ -2,7 +2,7 @@ // Label.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -121,7 +121,6 @@ public struct Label: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let mnemonicWidgetStorage = mnemonicWidget?.storage(data: data, type: type) { storage.content["mnemonicWidget"] = [mnemonicWidgetStorage] gtk_label_set_mnemonic_widget(storage.opaquePointer, mnemonicWidgetStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/LevelBar.swift b/Sources/Adwaita/View/Generated/LevelBar.swift index c8f515d..261d6ae 100644 --- a/Sources/Adwaita/View/Generated/LevelBar.swift +++ b/Sources/Adwaita/View/Generated/LevelBar.swift @@ -2,7 +2,7 @@ // LevelBar.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -73,7 +73,6 @@ public struct LevelBar: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/LinkButton.swift b/Sources/Adwaita/View/Generated/LinkButton.swift index 51aba76..6af9d2f 100644 --- a/Sources/Adwaita/View/Generated/LinkButton.swift +++ b/Sources/Adwaita/View/Generated/LinkButton.swift @@ -2,7 +2,7 @@ // LinkButton.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -91,7 +91,6 @@ public struct LinkButton: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] gtk_button_set_child(storage.opaquePointer?.cast(), childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/ListBox.swift b/Sources/Adwaita/View/Generated/ListBox.swift index f997694..776374f 100644 --- a/Sources/Adwaita/View/Generated/ListBox.swift +++ b/Sources/Adwaita/View/Generated/ListBox.swift @@ -2,7 +2,7 @@ // ListBox.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -117,7 +117,6 @@ public struct ListBox: AdwaitaWidget where Element: Identifiable { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/Menu.swift b/Sources/Adwaita/View/Generated/Menu.swift index ba8da86..4c6ff70 100644 --- a/Sources/Adwaita/View/Generated/Menu.swift +++ b/Sources/Adwaita/View/Generated/Menu.swift @@ -2,7 +2,7 @@ // Menu.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -99,7 +99,6 @@ public struct Menu: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] gtk_menu_button_set_child(storage.opaquePointer, childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/NavigationView.swift b/Sources/Adwaita/View/Generated/NavigationView.swift index b2c708d..75b98c2 100644 --- a/Sources/Adwaita/View/Generated/NavigationView.swift +++ b/Sources/Adwaita/View/Generated/NavigationView.swift @@ -2,7 +2,7 @@ // NavigationView.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -114,7 +114,6 @@ public struct NavigationView: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/Overlay.swift b/Sources/Adwaita/View/Generated/Overlay.swift index 42146b0..02b62de 100644 --- a/Sources/Adwaita/View/Generated/Overlay.swift +++ b/Sources/Adwaita/View/Generated/Overlay.swift @@ -2,7 +2,7 @@ // Overlay.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -74,7 +74,6 @@ public struct Overlay: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] gtk_overlay_set_child(storage.opaquePointer, childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/OverlaySplitView.swift b/Sources/Adwaita/View/Generated/OverlaySplitView.swift index 17f93ab..b52905a 100644 --- a/Sources/Adwaita/View/Generated/OverlaySplitView.swift +++ b/Sources/Adwaita/View/Generated/OverlaySplitView.swift @@ -2,7 +2,7 @@ // OverlaySplitView.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -120,7 +120,6 @@ public struct OverlaySplitView: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let contentStorage = content?.storage(data: data, type: type) { storage.content["content"] = [contentStorage] adw_overlay_split_view_set_content(storage.opaquePointer, contentStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/PasswordEntryRow.swift b/Sources/Adwaita/View/Generated/PasswordEntryRow.swift index ac0ab43..9ae1a73 100644 --- a/Sources/Adwaita/View/Generated/PasswordEntryRow.swift +++ b/Sources/Adwaita/View/Generated/PasswordEntryRow.swift @@ -2,7 +2,7 @@ // PasswordEntryRow.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -90,7 +90,6 @@ public struct PasswordEntryRow: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) var suffixStorage: [ViewStorage] = [] for view in suffix() { diff --git a/Sources/Adwaita/View/Generated/Picture.swift b/Sources/Adwaita/View/Generated/Picture.swift index 64db8f3..85b8c1f 100644 --- a/Sources/Adwaita/View/Generated/Picture.swift +++ b/Sources/Adwaita/View/Generated/Picture.swift @@ -2,7 +2,7 @@ // Picture.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -68,7 +68,6 @@ public struct Picture: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/Popover.swift b/Sources/Adwaita/View/Generated/Popover.swift index 2d05e4d..7195c66 100644 --- a/Sources/Adwaita/View/Generated/Popover.swift +++ b/Sources/Adwaita/View/Generated/Popover.swift @@ -2,7 +2,7 @@ // Popover.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -81,7 +81,6 @@ public struct Popover: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] gtk_popover_set_child(storage.opaquePointer?.cast(), childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/PreferencesGroup.swift b/Sources/Adwaita/View/Generated/PreferencesGroup.swift index 329635d..90f9b59 100644 --- a/Sources/Adwaita/View/Generated/PreferencesGroup.swift +++ b/Sources/Adwaita/View/Generated/PreferencesGroup.swift @@ -2,7 +2,7 @@ // PreferencesGroup.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -62,7 +62,6 @@ public struct PreferencesGroup: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let headerSuffixStorage = headerSuffix?.storage(data: data, type: type) { storage.content["headerSuffix"] = [headerSuffixStorage] adw_preferences_group_set_header_suffix(storage.opaquePointer?.cast(), headerSuffixStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/PreferencesPage.swift b/Sources/Adwaita/View/Generated/PreferencesPage.swift index 062b9f0..ee9e2fd 100644 --- a/Sources/Adwaita/View/Generated/PreferencesPage.swift +++ b/Sources/Adwaita/View/Generated/PreferencesPage.swift @@ -2,7 +2,7 @@ // PreferencesPage.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -52,7 +52,6 @@ public struct PreferencesPage: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) var childStorage: [ViewStorage] = [] for view in child() { diff --git a/Sources/Adwaita/View/Generated/PreferencesRow.swift b/Sources/Adwaita/View/Generated/PreferencesRow.swift index 68032ad..8fcc8a0 100644 --- a/Sources/Adwaita/View/Generated/PreferencesRow.swift +++ b/Sources/Adwaita/View/Generated/PreferencesRow.swift @@ -2,7 +2,7 @@ // PreferencesRow.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -56,7 +56,6 @@ public struct PreferencesRow: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/ProgressBar.swift b/Sources/Adwaita/View/Generated/ProgressBar.swift index 4daec7b..2d8c62d 100644 --- a/Sources/Adwaita/View/Generated/ProgressBar.swift +++ b/Sources/Adwaita/View/Generated/ProgressBar.swift @@ -2,7 +2,7 @@ // ProgressBar.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -79,7 +79,6 @@ public struct ProgressBar: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/ScrolledWindow.swift b/Sources/Adwaita/View/Generated/ScrolledWindow.swift index 0868bea..0ed3b92 100644 --- a/Sources/Adwaita/View/Generated/ScrolledWindow.swift +++ b/Sources/Adwaita/View/Generated/ScrolledWindow.swift @@ -2,7 +2,7 @@ // ScrolledWindow.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -153,7 +153,6 @@ public struct ScrolledWindow: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] gtk_scrolled_window_set_child(storage.opaquePointer, childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/SearchBar.swift b/Sources/Adwaita/View/Generated/SearchBar.swift index 00cde1f..3837cfb 100644 --- a/Sources/Adwaita/View/Generated/SearchBar.swift +++ b/Sources/Adwaita/View/Generated/SearchBar.swift @@ -2,7 +2,7 @@ // SearchBar.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -62,7 +62,6 @@ public struct SearchBar: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] gtk_search_bar_set_child(storage.opaquePointer, childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/SearchEntry.swift b/Sources/Adwaita/View/Generated/SearchEntry.swift index 5a13a31..4312fa5 100644 --- a/Sources/Adwaita/View/Generated/SearchEntry.swift +++ b/Sources/Adwaita/View/Generated/SearchEntry.swift @@ -2,7 +2,7 @@ // SearchEntry.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -157,7 +157,6 @@ public struct SearchEntry: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/Separator.swift b/Sources/Adwaita/View/Generated/Separator.swift index 26fc0eb..515f13e 100644 --- a/Sources/Adwaita/View/Generated/Separator.swift +++ b/Sources/Adwaita/View/Generated/Separator.swift @@ -2,7 +2,7 @@ // Separator.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -43,7 +43,6 @@ public struct Separator: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/SpinRow.swift b/Sources/Adwaita/View/Generated/SpinRow.swift index 467595d..a70b4e3 100644 --- a/Sources/Adwaita/View/Generated/SpinRow.swift +++ b/Sources/Adwaita/View/Generated/SpinRow.swift @@ -2,7 +2,7 @@ // SpinRow.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -125,7 +125,6 @@ public struct SpinRow: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let activatableWidgetStorage = activatableWidget?.storage(data: data, type: type) { storage.content["activatableWidget"] = [activatableWidgetStorage] adw_action_row_set_activatable_widget(storage.opaquePointer?.cast(), activatableWidgetStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/Spinner.swift b/Sources/Adwaita/View/Generated/Spinner.swift index 46d31dc..678a964 100644 --- a/Sources/Adwaita/View/Generated/Spinner.swift +++ b/Sources/Adwaita/View/Generated/Spinner.swift @@ -2,7 +2,7 @@ // Spinner.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -51,7 +51,6 @@ public struct Spinner: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/SplitButton.swift b/Sources/Adwaita/View/Generated/SplitButton.swift index b235eb1..d319131 100644 --- a/Sources/Adwaita/View/Generated/SplitButton.swift +++ b/Sources/Adwaita/View/Generated/SplitButton.swift @@ -2,7 +2,7 @@ // SplitButton.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -89,7 +89,6 @@ public struct SplitButton: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] adw_split_button_set_child(storage.opaquePointer, childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/StatusPage.swift b/Sources/Adwaita/View/Generated/StatusPage.swift index 7793ce7..f1491bd 100644 --- a/Sources/Adwaita/View/Generated/StatusPage.swift +++ b/Sources/Adwaita/View/Generated/StatusPage.swift @@ -2,7 +2,7 @@ // StatusPage.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -50,7 +50,6 @@ public struct StatusPage: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] adw_status_page_set_child(storage.opaquePointer, childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/SwitchRow.swift b/Sources/Adwaita/View/Generated/SwitchRow.swift index bcdd171..eb55503 100644 --- a/Sources/Adwaita/View/Generated/SwitchRow.swift +++ b/Sources/Adwaita/View/Generated/SwitchRow.swift @@ -2,7 +2,7 @@ // SwitchRow.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -105,7 +105,6 @@ public struct SwitchRow: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let activatableWidgetStorage = activatableWidget?.storage(data: data, type: type) { storage.content["activatableWidget"] = [activatableWidgetStorage] adw_action_row_set_activatable_widget(storage.opaquePointer?.cast(), activatableWidgetStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/ToastOverlay.swift b/Sources/Adwaita/View/Generated/ToastOverlay.swift index b311922..e12b095 100644 --- a/Sources/Adwaita/View/Generated/ToastOverlay.swift +++ b/Sources/Adwaita/View/Generated/ToastOverlay.swift @@ -2,7 +2,7 @@ // ToastOverlay.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -46,7 +46,6 @@ public struct ToastOverlay: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] adw_toast_overlay_set_child(storage.opaquePointer, childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/ToggleButton.swift b/Sources/Adwaita/View/Generated/ToggleButton.swift index f322b74..4a8fb5a 100644 --- a/Sources/Adwaita/View/Generated/ToggleButton.swift +++ b/Sources/Adwaita/View/Generated/ToggleButton.swift @@ -2,7 +2,7 @@ // ToggleButton.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -85,7 +85,6 @@ public struct ToggleButton: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let childStorage = child?.storage(data: data, type: type) { storage.content["child"] = [childStorage] gtk_button_set_child(storage.opaquePointer?.cast(), childStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/ToggleGroup.swift b/Sources/Adwaita/View/Generated/ToggleGroup.swift index 330de88..881d090 100644 --- a/Sources/Adwaita/View/Generated/ToggleGroup.swift +++ b/Sources/Adwaita/View/Generated/ToggleGroup.swift @@ -2,7 +2,7 @@ // ToggleGroup.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -91,7 +91,6 @@ public struct ToggleGroup: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Generated/ToolbarView.swift b/Sources/Adwaita/View/Generated/ToolbarView.swift index 41f97fc..7097f77 100644 --- a/Sources/Adwaita/View/Generated/ToolbarView.swift +++ b/Sources/Adwaita/View/Generated/ToolbarView.swift @@ -2,7 +2,7 @@ // ToolbarView.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -120,7 +120,6 @@ public struct ToolbarView: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) if let contentStorage = content?.storage(data: data, type: type) { storage.content["content"] = [contentStorage] adw_toolbar_view_set_content(storage.opaquePointer, contentStorage.opaquePointer?.cast()) diff --git a/Sources/Adwaita/View/Generated/WindowTitle.swift b/Sources/Adwaita/View/Generated/WindowTitle.swift index 633243a..8047405 100644 --- a/Sources/Adwaita/View/Generated/WindowTitle.swift +++ b/Sources/Adwaita/View/Generated/WindowTitle.swift @@ -2,7 +2,7 @@ // WindowTitle.swift // Adwaita // -// Created by auto-generation on 30.12.25. +// Created by auto-generation on 02.02.26. // import CAdw @@ -49,7 +49,6 @@ public struct WindowTitle: AdwaitaWidget { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) return storage } diff --git a/Sources/Adwaita/View/Modifiers/ModifierWrapper.swift b/Sources/Adwaita/View/Modifiers/ModifierWrapper.swift index 82c2942..6ccec1c 100644 --- a/Sources/Adwaita/View/Modifiers/ModifierWrapper.swift +++ b/Sources/Adwaita/View/Modifiers/ModifierWrapper.swift @@ -94,9 +94,7 @@ struct ModifierWrapper: AdwaitaWidget { /// - Returns: The view storage. func container(data: WidgetData, type: Data.Type) -> ViewStorage where Data: ViewRenderData { let content = content.storage(data: data, type: type) - let storage = ViewStorage(content.pointer, content: [.mainContent: [content]]) - update(storage, data: data, updateProperties: true, type: type) - return storage + return .init(content.pointer, content: [.mainContent: [content]]) } /// Update the stored content. diff --git a/Sources/Adwaita/View/NavigationSplitView.swift b/Sources/Adwaita/View/NavigationSplitView.swift index e6afca3..4d9b43a 100644 --- a/Sources/Adwaita/View/NavigationSplitView.swift +++ b/Sources/Adwaita/View/NavigationSplitView.swift @@ -58,7 +58,6 @@ public struct NavigationSplitView: AdwaitaWidget { content[contentID] = [mainContent] let storage = ViewStorage(splitView?.opaque(), content: content) - update(storage, data: data, updateProperties: true, type: type) storage.fields["sidebar-page"] = sidebarPage?.opaque() storage.fields["main-page"] = mainPage?.opaque() diff --git a/Sources/Adwaita/View/TextEditor.swift b/Sources/Adwaita/View/TextEditor.swift index 8de7196..f476de7 100644 --- a/Sources/Adwaita/View/TextEditor.swift +++ b/Sources/Adwaita/View/TextEditor.swift @@ -104,7 +104,6 @@ public struct TextView: AdwaitaWidget { content: ["buffer": [buffer]] ) initProperties(editor, data: data, type: type) - update(editor, data: data, updateProperties: true, type: type) return editor } diff --git a/Sources/Adwaita/View/ViewStack.swift b/Sources/Adwaita/View/ViewStack.swift index bca4739..5a00247 100644 --- a/Sources/Adwaita/View/ViewStack.swift +++ b/Sources/Adwaita/View/ViewStack.swift @@ -53,9 +53,7 @@ public struct ViewStack: AdwaitaWidget { type: Data.Type ) -> ViewStorage where Data: ViewRenderData { let stack = gtk_stack_new() - let storage = ViewStorage(stack?.opaque()) - update(storage, data: data, updateProperties: true, type: type) - return storage + return .init(stack?.opaque()) } /// Update the stored content. @@ -74,6 +72,7 @@ public struct ViewStack: AdwaitaWidget { content.updateStorage(view, data: data, updateProperties: updateProperties, type: type) } else { let view = content.storage(data: data, type: type) + content.updateStorage(view, data: data, updateProperties: true, type: type) gtk_stack_add_named(storage.opaquePointer, view.opaquePointer?.cast(), id.description) storage.content[id.description] = [view] } diff --git a/Sources/Adwaita/View/ViewSwitcher.swift b/Sources/Adwaita/View/ViewSwitcher.swift index 0df3106..d22d599 100644 --- a/Sources/Adwaita/View/ViewSwitcher.swift +++ b/Sources/Adwaita/View/ViewSwitcher.swift @@ -39,7 +39,6 @@ public struct ViewSwitcher: AdwaitaWidget where Element: ViewSwitcherOp let switcher = ViewStorage(adw_view_switcher_new()?.opaque()) let stack = ViewStorage(adw_view_stack_new()?.opaque()) adw_view_switcher_set_stack(switcher.opaquePointer, stack.opaquePointer) - updateSwitcher(switcher: switcher) switcher.fields["stack"] = stack return switcher } diff --git a/Sources/Generation/GIR/Class.swift b/Sources/Generation/GIR/Class.swift index 657a5b4..a3e5fad 100644 --- a/Sources/Generation/GIR/Class.swift +++ b/Sources/Generation/GIR/Class.swift @@ -102,7 +102,6 @@ struct Class: ClassLike, Decodable { for function in appearFunctions { function(storage, data) } - update(storage, data: data, updateProperties: true, type: type) \(generateWidgetAssignments(config: config, genConfig: genConfig, namespace: namespace, configs: configs)) return storage }