diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2025-03-27 19:44:46 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2025-03-27 19:44:46 +0100 |
| commit | 6bcf6c01484c580b7b5846f9b0593e2b499d5aee (patch) | |
| tree | 59d1759cb89111c8ffbbe0d4d1c757ed6760452a /include/turns/adw/helpers/gobj_mixin.hpp | |
| parent | eabdf3c6c4f10ee8232a75fff6f1cefa0734cebf (diff) | |
| download | libadwaitamm-6bcf6c01484c580b7b5846f9b0593e2b499d5aee.tar.xz libadwaitamm-6bcf6c01484c580b7b5846f9b0593e2b499d5aee.zip | |
adw: add more dialog functions
Diffstat (limited to 'include/turns/adw/helpers/gobj_mixin.hpp')
| -rw-r--r-- | include/turns/adw/helpers/gobj_mixin.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/turns/adw/helpers/gobj_mixin.hpp b/include/turns/adw/helpers/gobj_mixin.hpp index d9e5097..67600cf 100644 --- a/include/turns/adw/helpers/gobj_mixin.hpp +++ b/include/turns/adw/helpers/gobj_mixin.hpp @@ -28,7 +28,7 @@ namespace turns::adw::helpers using gobj_type = std::conditional_t<std::is_const_v<clean_type>, std::add_const_t<Glib::Object>, Glib::Object>; static_cast<gobj_type &&>(self).reference(); - return self.gobj(); + return const_cast<AdwType *>(self.gobj()); } }; |
