[gtk+/treeview-refactor] Fixed an error in my last commit in gtk_cell_area_box_context_copy().



commit e2c8ecba30d883a57bc9ffa71bb7261d6e997af2
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Mon Dec 13 16:27:36 2010 +0900

    Fixed an error in my last commit in gtk_cell_area_box_context_copy().

 gtk/gtkcellareaboxcontext.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcellareaboxcontext.c b/gtk/gtkcellareaboxcontext.c
index fe61b45..2c0fa22 100644
--- a/gtk/gtkcellareaboxcontext.c
+++ b/gtk/gtkcellareaboxcontext.c
@@ -559,7 +559,7 @@ gtk_cell_area_box_context_copy (GtkCellAreaBox        *box,
       g_memdup (context->priv->orientation_allocs, 
 		copy->priv->n_orientation_allocs * sizeof (GtkCellAreaBoxAllocation));
 
-  return context;
+  return copy;
 }
 
 void



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