diff options
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()); } }; |
