diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-06-16 12:37:33 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-06-16 12:37:33 -0400 |
commit | 3bf1c7adadb1fda69e63fc6fe0f3698d937a1b80 (patch) | |
tree | 20e3d9da80350e20c801455ad8ab4710311d9e79 /modules | |
parent | c12a8388f6f88477c0fcf52d66287d744d40929d (diff) | |
download | gtk+-3bf1c7adadb1fda69e63fc6fe0f3698d937a1b80.tar.gz |
More uses of the get_cell_renderers functions
Diffstat (limited to 'modules')
-rw-r--r-- | modules/other/gail/gailtreeview.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/other/gail/gailtreeview.c b/modules/other/gail/gailtreeview.c index 3cdde65e42..d305ae01d4 100644 --- a/modules/other/gail/gailtreeview.c +++ b/modules/other/gail/gailtreeview.c @@ -2127,7 +2127,7 @@ gail_tree_view_get_cell_area (GailCellParent *parent, GtkCellRenderer *renderer; cell_index = atk_object_get_index_in_parent (ATK_OBJECT (cell)); - renderers = gtk_tree_view_column_get_cell_renderers (tv_col); + renderers = gtk_cel_layout_get_cells (GTK_CELL_LAYOUT (tv_col)); renderer = g_list_nth_data (renderers, cell_index); found = gtk_tree_view_column_cell_get_position (tv_col, renderer, &cell_start, &cell_width); @@ -2180,7 +2180,7 @@ gail_tree_view_grab_cell_focus (GailCellParent *parent, */ GList *renderers; - renderers = gtk_tree_view_column_get_cell_renderers (tv_col); + renderers = gtk_cell_layout_get_cells (GTK_CELL_LAYOUT (tv_col)); if (cell_info->in_use) { index = atk_object_get_index_in_parent (cell_object); renderer = g_list_nth_data (renderers, index); @@ -3177,7 +3177,7 @@ update_cell_value (GailRendererCell *renderer_cell, gtk_tree_view_column_cell_set_cell_data (cell_info->cell_col_ref, tree_model, &iter, is_expander, is_expanded); } - renderers = gtk_tree_view_column_get_cell_renderers (cell_info->cell_col_ref); + renderers = gtk_cell_layout_get_cells (GKT_CELL_LAYOUT (cell_info->cell_col_ref)); gail_return_val_if_fail (renderers, FALSE); /* @@ -4001,7 +4001,7 @@ toggle_cell_toggled (GailCell *cell) gail_return_if_fail (path); pathstring = gtk_tree_path_to_string (path); - renderers = gtk_tree_view_column_get_cell_renderers (cell_info->cell_col_ref); + renderers = gtk_cell_layout_get_cells (GTK_CELL_LAYOUT (cell_info->cell_col_ref)); gail_return_if_fail (renderers); /* |