| Index: views/controls/combobox/native_combobox_gtk.cc
|
| diff --git a/views/controls/combobox/native_combobox_gtk.cc b/views/controls/combobox/native_combobox_gtk.cc
|
| index 76e550d637d6ca4a05ab7f63f9f96920fc5103b0..3efdb75608154ae6d7395db8764ad6f31a2f4650 100644
|
| --- a/views/controls/combobox/native_combobox_gtk.cc
|
| +++ b/views/controls/combobox/native_combobox_gtk.cc
|
| @@ -180,11 +180,7 @@ void NativeComboboxGtk::FocusedMenuItemChanged() {
|
| GtkCellView* cell_view = GTK_CELL_VIEW(child);
|
| GtkTreePath* path = gtk_cell_view_get_displayed_row(cell_view);
|
| GtkTreeModel* model = NULL;
|
| -#if GTK_CHECK_VERSION(2, 16, 0)
|
| model = gtk_cell_view_get_model(cell_view);
|
| -#else
|
| - g_object_get(cell_view, "model", &model, NULL);
|
| -#endif
|
| GtkTreeIter iter;
|
| if (model && gtk_tree_model_get_iter(model, &iter, path)) {
|
| GValue value = { 0 };
|
|
|