[anjal] Pass the child rendered on its activate than the parent.



commit 95453ac0959abb1103997623744f38ec269746d6
Author: Srinivasa Ragavan <sragavan novell com>
Date:   Mon Mar 30 22:20:04 2009 +0530

    Pass the child rendered on its activate than the parent.
---
 src/custom-cell-renderer-vbox.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/custom-cell-renderer-vbox.c b/src/custom-cell-renderer-vbox.c
index 80ad0c7..e82fdbf 100644
--- a/src/custom-cell-renderer-vbox.c
+++ b/src/custom-cell-renderer-vbox.c
@@ -401,7 +401,7 @@ cc_vbox_activate (GtkCellRenderer      *cell,
 		  (event->y >= cell_area->y +ch&& event->y <= cell_area->y+(2*ch))) {
 		   CellRenderActivateFunc func = g_object_get_data (child, "activate_func");
 		   if (func) {
-				(*func)(cell, event, widget, path, background_area, cell_area, flags);
+				(*func)(child, event, widget, path, background_area, cell_area, flags);
 				return TRUE;
 		   }	
 	  }



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