From 6fb8667b9848c8fe0989bb665e2f4ddc09179983 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Thu, 15 Aug 2024 12:05:21 +0200 Subject: adw: mark Toast and ToastOverlay as being final --- include/turns/adw/toast.hpp | 4 ++-- include/turns/adw/toastoverlay.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'include/turns/adw') diff --git a/include/turns/adw/toast.hpp b/include/turns/adw/toast.hpp index 21ccdef..f82e01e 100644 --- a/include/turns/adw/toast.hpp +++ b/include/turns/adw/toast.hpp @@ -17,8 +17,8 @@ namespace turns::adw { struct Toast_Class; - struct Toast : Glib::Object, - helpers::gobj_mixin + struct Toast final : Glib::Object, + helpers::gobj_mixin { enum class Priority { diff --git a/include/turns/adw/toastoverlay.hpp b/include/turns/adw/toastoverlay.hpp index bd5402f..958266b 100644 --- a/include/turns/adw/toastoverlay.hpp +++ b/include/turns/adw/toastoverlay.hpp @@ -16,8 +16,8 @@ namespace turns::adw struct Toast; - struct ToastOverlay : Gtk::Widget, - helpers::gobj_mixin + struct ToastOverlay final : Gtk::Widget, + helpers::gobj_mixin { using helpers::gobj_mixin::gobj; using helpers::gobj_mixin::gobj_copy; -- cgit v1.2.3