From b7da16d2dda3d90dbc47c4093efe37d4d5c92f27 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 28 Mar 2025 07:49:04 +0100 Subject: adw: clean up wrap functions --- include/turns/adw/switchrow.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include/turns/adw/switchrow.hpp') diff --git a/include/turns/adw/switchrow.hpp b/include/turns/adw/switchrow.hpp index e7e0131..39c21da 100644 --- a/include/turns/adw/switchrow.hpp +++ b/include/turns/adw/switchrow.hpp @@ -13,6 +13,8 @@ #include +#include + #define _ADWAITA_INSIDE #include #undef _ADWAITA_INSIDE @@ -22,7 +24,7 @@ using AdwSwitchRow = struct _AdwSwitchRow; namespace turns::adw { struct SwitchRow final : adw::ActionRow, - helpers::gobj_mixin + helpers::gobj_mixin { struct Class : Glib::Class { @@ -80,7 +82,7 @@ namespace turns::adw namespace Glib { - auto wrap(AdwSwitchRow * object, bool copy = false) -> Glib::RefPtr; + auto wrap(AdwSwitchRow * object, bool copy = false) -> turns::adw::SwitchRow *; } // namespace Glib #endif \ No newline at end of file -- cgit v1.2.3