[gtkmm/gtkmm-3-22] TreeView: Remove an obsolete comment
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtkmm/gtkmm-3-22] TreeView: Remove an obsolete comment
- Date: Wed, 10 May 2017 16:56:19 +0000 (UTC)
commit d5ad790d59c85c82a4194b5f775f4fb0b8f17356
Author: Daniel Boles <dboles src gmail com>
Date: Wed May 10 16:10:34 2017 +0100
TreeView: Remove an obsolete comment
Commit 4504487c7 replaced the old C syntax (void*)0 with nullptr but did
not remove this comment, which referred to the original cast expression.
gtk/src/treeview.ccg | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/src/treeview.ccg b/gtk/src/treeview.ccg
index 5de2ddc..f088a90 100644
--- a/gtk/src/treeview.ccg
+++ b/gtk/src/treeview.ccg
@@ -199,7 +199,7 @@ bool TreeView::get_path_at_pos(int x, int y, TreeModel::Path& path) const
int TreeView::insert_column(const Glib::ustring& title, CellRenderer& cell, int position)
{
return gtk_tree_view_insert_column_with_attributes(
- gobj(), position, const_cast<char*>(title.c_str()), cell.gobj(), nullptr); //Note that some compilers
need the extra (void*) clue.
+ gobj(), position, const_cast<char*>(title.c_str()), cell.gobj(), nullptr);
}
int TreeView::append_column(const Glib::ustring& title, CellRenderer& cell)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]