From f95d76f5069d5c4cbb08b18145e24ed13a5fffc2 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Fri, 4 Apr 2025 21:23:36 +0200 Subject: adw: fix class derivations --- include/adwaitamm/dialog.hpp | 4 +++- include/adwaitamm/stylemanager.hpp | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'include/adwaitamm') diff --git a/include/adwaitamm/dialog.hpp b/include/adwaitamm/dialog.hpp index 23a864c..44dde25 100644 --- a/include/adwaitamm/dialog.hpp +++ b/include/adwaitamm/dialog.hpp @@ -1,8 +1,8 @@ #ifndef LIBADWAITAMM_DIALOG_HPP #define LIBADWAITAMM_DIALOG_HPP -#include "helpers/gobj_mixin.hpp" #include "adwaitamm/breakpoint.hpp" +#include "helpers/gobj_mixin.hpp" #include #include @@ -10,6 +10,7 @@ #include #include +#include #include #include @@ -22,6 +23,7 @@ namespace Adwaita struct Dialog_Class; struct Dialog : Gtk::Widget, + Gtk::ShortcutManager, helpers::gobj_mixin { struct Class : Glib::Class diff --git a/include/adwaitamm/stylemanager.hpp b/include/adwaitamm/stylemanager.hpp index 8a365f9..3d370c3 100644 --- a/include/adwaitamm/stylemanager.hpp +++ b/include/adwaitamm/stylemanager.hpp @@ -28,8 +28,8 @@ namespace Adwaita enum struct AccentColor; enum struct ColorScheme; - struct StyleManager : Glib::Object, - helpers::gobj_mixin + struct StyleManager final : Glib::Object, + helpers::gobj_mixin { struct Class : Glib::Class { -- cgit v1.2.3