Index: views/controls/table/native_table_gtk.cc |
diff --git a/views/controls/table/native_table_gtk.cc b/views/controls/table/native_table_gtk.cc |
index fb12ef48afef38f0690886eb360f31d98200af17..0200c1be64cbaf49359fdd685ec2212e6d467ac7 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) { |