[gtk+] gtkcombobox.c: Use accessor functions to access GtkTreeSelection



commit e92da3e166c0150adc5727eeafd47689443028c0
Author: Javier Jardón <jjardon gnome org>
Date:   Sun Dec 19 01:27:41 2010 +0000

    gtkcombobox.c: Use accessor functions to access GtkTreeSelection

 gtk/gtkcombobox.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcombobox.c b/gtk/gtkcombobox.c
index fcfe854..016c28d 100644
--- a/gtk/gtkcombobox.c
+++ b/gtk/gtkcombobox.c
@@ -4422,7 +4422,7 @@ gtk_combo_box_list_select_func (GtkTreeSelection *selection,
   GList *list, *columns;
   gboolean sensitive = FALSE;
 
-  columns = gtk_tree_view_get_columns (selection->tree_view);
+  columns = gtk_tree_view_get_columns (gtk_tree_selection_get_tree_view (selection));
 
   for (list = columns; list && !sensitive; list = list->next)
     {



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