[gtk+/treeview-refactor] Fixed foreach_alloc call from gtk_cell_area_real_render to pass the real background area.



commit 40e9f91f43fd32b61da4018bfc6949dab42edbc6
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Wed Dec 8 21:27:52 2010 +0900

    Fixed foreach_alloc call from gtk_cell_area_real_render to pass the real background area.

 gtk/gtkcellarea.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c
index 73831b9..59b6231 100644
--- a/gtk/gtkcellarea.c
+++ b/gtk/gtkcellarea.c
@@ -1102,7 +1102,7 @@ gtk_cell_area_real_render (GtkCellArea          *area,
       !gtk_cell_area_is_activatable (area))
     render_data.focus_all = TRUE;
 
-  gtk_cell_area_foreach_alloc (area, context, widget, cell_area, cell_area, 
+  gtk_cell_area_foreach_alloc (area, context, widget, cell_area, background_area, 
 			       (GtkCellAllocCallback)render_cell, &render_data);
 
   if (render_data.paint_focus && 



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