[gtk+/treeview-refactor] Should pass inner_area to cell in gtk_cell_area_activate_cell()
- From: Kristian Rietveld <kristian src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/treeview-refactor] Should pass inner_area to cell in gtk_cell_area_activate_cell()
- Date: Thu, 16 Dec 2010 23:41:19 +0000 (UTC)
commit 88f8859f90781b3fb72b24cfc7f2fd15ea5733a9
Author: Kristian Rietveld <kris gtk org>
Date: Thu Dec 16 22:42:10 2010 +0100
Should pass inner_area to cell in gtk_cell_area_activate_cell()
gtk/gtkcellarea.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkcellarea.c b/gtk/gtkcellarea.c
index a11f5b0..fcf550e 100644
--- a/gtk/gtkcellarea.c
+++ b/gtk/gtkcellarea.c
@@ -3415,13 +3415,16 @@ gtk_cell_area_activate_cell (GtkCellArea *area,
else if (mode == GTK_CELL_RENDERER_MODE_EDITABLE)
{
GtkCellEditable *editable_widget;
+ GdkRectangle inner_area;
+
+ gtk_cell_area_inner_cell_area (area, widget, cell_area, &inner_area);
editable_widget =
gtk_cell_renderer_start_editing (renderer,
event, widget,
priv->current_path,
- cell_area,
- cell_area,
+ &inner_area,
+ &inner_area,
flags);
if (editable_widget != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]