diff options
Diffstat (limited to 'include/turns/adw/toastoverlay.hpp')
| -rw-r--r-- | include/turns/adw/toastoverlay.hpp | 9 |
1 files changed, 7 insertions, 2 deletions
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 <glibmm/class.h> +#include <glibmm/object.h> +#include <glibmm/objectbase.h> #include <glibmm/refptr.h> #include <gtkmm/widget.h> +#include <glib-object.h> + #define _ADWAITA_INSIDE #include <adw-toast-overlay.h> #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<struct Toast> 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<turns::adw::ToastOverlay>; + auto wrap(AdwToastOverlay * object, bool copy = false) -> turns::adw::ToastOverlay *; } // namespace Glib #endif
\ No newline at end of file |
