summaryrefslogtreecommitdiff
path: root/adw/src/preferencesrow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'adw/src/preferencesrow.cpp')
-rw-r--r--adw/src/preferencesrow.cpp25
1 files changed, 3 insertions, 22 deletions
diff --git a/adw/src/preferencesrow.cpp b/adw/src/preferencesrow.cpp
index fe6410f..e54bebe 100644
--- a/adw/src/preferencesrow.cpp
+++ b/adw/src/preferencesrow.cpp
@@ -1,5 +1,7 @@
#include "adwaitamm/preferencesrow.hpp"
+#include "adwaitamm/private/preferencesrow_p.hpp"
+
#include <glibmm/class.h>
#include <glibmm/object.h>
#include <glibmm/objectbase.h>
@@ -22,30 +24,9 @@ namespace Adwaita
{
namespace
{
- auto constinit _class = PreferencesRow::Class{};
+ auto constinit _class = PreferencesRow_Class{};
} // namespace
- auto PreferencesRow::Class::init() -> Glib::Class const &
- {
- if (!gtype_)
- {
- class_init_func_ = &class_init_function;
- register_derived_type(adw_preferences_row_get_type());
- }
- return *this;
- }
-
- auto PreferencesRow::Class::class_init_function(void * gclass, void * data) -> void
- {
- auto const klass = static_cast<BaseClassType *>(gclass);
- CppClassParent::class_init_function(klass, data);
- }
-
- auto PreferencesRow::Class::wrap_new(GObject * object) -> Glib::ObjectBase *
- {
- return Gtk::manage(new PreferencesRow(ADW_PREFERENCES_ROW(object)));
- }
-
auto PreferencesRow::get_type() -> GType
{
return _class.init().get_type();