diff --git a/modules/other/gail/gailtreeview.c b/modules/other/gail/gailtreeview.c index f1b506357f..644b0fb950 100644 --- a/modules/other/gail/gailtreeview.c +++ b/modules/other/gail/gailtreeview.c @@ -1391,7 +1391,7 @@ gail_tree_view_get_selected_rows (AtkTable *table, selection = gtk_tree_view_get_selection (tree_view); - switch (selection->type) + switch (gtk_selection_get_mode (selection)) { case GTK_SELECTION_SINGLE: case GTK_SELECTION_BROWSE: