From 6bcf6c01484c580b7b5846f9b0593e2b499d5aee Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 27 Mar 2025 19:44:46 +0100 Subject: adw: add more dialog functions --- include/turns/adw/helpers/gobj_mixin.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/turns/adw/helpers/gobj_mixin.hpp') 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::add_const_t, Glib::Object>; static_cast(self).reference(); - return self.gobj(); + return const_cast(self.gobj()); } }; -- cgit v1.2.3