[gtk+] Revert "Fix memory leak in GtkTreeViewAccessible"



commit 4238cc4b7b966687271ddf2c4309ff6f7e807f60
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Thu Feb 6 22:15:12 2014 +0100

    Revert "Fix memory leak in GtkTreeViewAccessible"
    
    This reverts commit 7a411eb6dd4dd0dedf28f3b5414561e765886369.
    This also makes gedit external tools manager to crash

 gtk/a11y/gtktreeviewaccessible.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/a11y/gtktreeviewaccessible.c b/gtk/a11y/gtktreeviewaccessible.c
index e2d0e8f..a3a1120 100644
--- a/gtk/a11y/gtktreeviewaccessible.c
+++ b/gtk/a11y/gtktreeviewaccessible.c
@@ -1442,7 +1442,7 @@ cell_info_new (GtkTreeViewAccessible *accessible,
   cell_info->tree = tree;
   cell_info->node = node;
   cell_info->cell_col_ref = tv_col;
-  cell_info->cell = cell;
+  cell_info->cell = g_object_ref (cell);
   cell_info->view = accessible;
 
   g_object_set_qdata (G_OBJECT (cell), 


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