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/toastoverlay.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'include/turns/adw/toastoverlay.hpp') diff --git a/include/turns/adw/toastoverlay.hpp b/include/turns/adw/toastoverlay.hpp index 49f6a59..7560c0d 100644 --- a/include/turns/adw/toastoverlay.hpp +++ b/include/turns/adw/toastoverlay.hpp @@ -4,10 +4,15 @@ #include "turns/adw/helpers/gobj_mixin.hpp" #include "turns/adw/helpers/properties.hpp" +#include +#include +#include #include #include +#include + #define _ADWAITA_INSIDE #include #undef _ADWAITA_INSIDE @@ -48,7 +53,7 @@ namespace turns::adw auto static get_type() -> GType; auto static get_base_type() -> GType; - auto add(struct Toast && toast) -> void; + auto add(Glib::RefPtr const & toast) -> void; auto property_child(this auto && self); @@ -66,7 +71,7 @@ namespace turns::adw namespace Glib { - auto wrap(AdwToastOverlay * object, bool copy = false) -> Glib::RefPtr; + auto wrap(AdwToastOverlay * object, bool copy = false) -> turns::adw::ToastOverlay *; } // namespace Glib #endif \ No newline at end of file -- cgit v1.2.3