-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gtkmm] fix unresolved external Gtk::TreeViewColumn::`vbase destructo…
…r'(void) in release build by avoiding calling base class constructor from inline code (#12637)
- Loading branch information
Showing
3 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
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<T_ModelColumnType>& column, | ||
template <class T_ModelColumnType> inline | ||
TreeViewColumn::TreeViewColumn(const Glib::ustring& title, | ||
const TreeModelColumn<T_ModelColumnType>& 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 */); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters