[gtk+] gail: Use accessor functions to access GtkTreeSelection



commit d0b81b21483df69a07677fa7162b4ded806eaa86
Author: Javier Jardón <jjardon gnome org>
Date:   Sun Dec 19 04:55:36 2010 +0000

    gail: Use accessor functions to access GtkTreeSelection

 modules/other/gail/gailtreeview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/other/gail/gailtreeview.c b/modules/other/gail/gailtreeview.c
index f1b5063..644b0fb 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:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]