diff options
Diffstat (limited to 'views/controls/table/native_table_gtk.cc')
-rw-r--r-- | views/controls/table/native_table_gtk.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/views/controls/table/native_table_gtk.cc b/views/controls/table/native_table_gtk.cc index fb12ef4..0200c1b 100644 --- a/views/controls/table/native_table_gtk.cc +++ b/views/controls/table/native_table_gtk.cc @@ -74,8 +74,9 @@ void NativeTableGtk::RemoveColumn(int index) { } int NativeTableGtk::GetColumnWidth(int column_index) const { - NOTIMPLEMENTED(); - return -1; + GtkTreeViewColumn* column = gtk_tree_view_get_column(tree_view_, + column_index); + return gtk_tree_view_column_get_width(column); } void NativeTableGtk::SetColumnWidth(int column_index, int width) { |