diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-04-04 07:18:13 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-04-04 07:19:10 +0200 |
| commit | e49fa74dd76455ae559e8e26ee44103809db85c0 (patch) | |
| tree | f9b8c985dbfd8839b53126216c62d4f3ede7f137 /include/adwaitamm/switchrow.hpp | |
| parent | 30c03f8d5136b4148d2b1e4de53748f3f02723bd (diff) | |
| download | libadwaitamm-e49fa74dd76455ae559e8e26ee44103809db85c0.tar.xz libadwaitamm-e49fa74dd76455ae559e8e26ee44103809db85c0.zip | |
adw: rename namespace to Adwaita
Diffstat (limited to 'include/adwaitamm/switchrow.hpp')
| -rw-r--r-- | include/adwaitamm/switchrow.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/adwaitamm/switchrow.hpp b/include/adwaitamm/switchrow.hpp index c13d534..37e2e05 100644 --- a/include/adwaitamm/switchrow.hpp +++ b/include/adwaitamm/switchrow.hpp @@ -21,9 +21,9 @@ using AdwSwitchRow = struct _AdwSwitchRow; -namespace turns::adw +namespace Adwaita { - struct SwitchRow final : adw::ActionRow, + struct SwitchRow final : ActionRow, helpers::gobj_mixin<SwitchRow, AdwSwitchRow> { struct Class : Glib::Class @@ -31,7 +31,7 @@ namespace turns::adw using BaseClassParent = AdwActionRowClass; using BaseClassType = AdwSwitchRowClass; using BaseObjectType = AdwSwitchRow; - using CppClassParent = adw::ActionRow::Class; + using CppClassParent = ActionRow::Class; using CppObjectType = SwitchRow; auto init() -> Glib::Class const &; @@ -78,11 +78,11 @@ namespace turns::adw return helpers::make_property_proxy<bool>(self, "active"); } -} // namespace turns::adw +} // namespace Adwaita namespace Glib { - auto wrap(AdwSwitchRow * object, bool copy = false) -> turns::adw::SwitchRow *; + auto wrap(AdwSwitchRow * object, bool copy = false) -> Adwaita::SwitchRow *; } // namespace Glib #endif
\ No newline at end of file |
