]> Pileus Git - ~andy/gtk/commitdiff
gail: Use accessor functions to access GtkTreeSelection
authorJavier Jardón <jjardon@gnome.org>
Sun, 19 Dec 2010 04:55:36 +0000 (04:55 +0000)
committerJavier Jardón <jjardon@gnome.org>
Sun, 19 Dec 2010 04:56:32 +0000 (04:56 +0000)
modules/other/gail/gailtreeview.c

index f1b506357f38cb799c7c4d122955eecb1db475b9..644b0fb950f99819ce06764cd5735dad1834a0b5 100644 (file)
@@ -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: