diff --git a/gtk/gtkmm/treeviewcolumn.h b/gtk/gtkmm/treeviewcolumn.h index f2a77c1..c66302a 100644 --- a/gtk/gtkmm/treeviewcolumn.h +++ b/gtk/gtkmm/treeviewcolumn.h @@ -1026,9 +1026,7 @@ void TreeViewColumn::pack_end(const TreeModelColumn& column, template inline TreeViewColumn::TreeViewColumn(const Glib::ustring& title, const TreeModelColumn& column) -: - Glib::ObjectBase(nullptr), // not (yet) a custom class - Gtk::Object(Glib::ConstructParams(class_init_(), "title", title.c_str(), nullptr)) +: TreeViewColumn (title) { pack_start(column, true /* expand */); }