gtk+ r19349 - trunk/modules/other/gail



Author: liyuan
Date: Fri Jan 11 09:22:25 2008
New Revision: 19349
URL: http://svn.gnome.org/viewvc/gtk+?rev=19349&view=rev

Log:
2008-01-11  Li Yuan  <li yuan sun com>

        * gailtreeview.c: (gail_tree_view_get_n_rows):
        Bug #508715. Should use gtk_tree_path_free to free a GtkTreePath.


Added:
   trunk/modules/other/gail/ChangeLog
Modified:
   trunk/modules/other/gail/gailtreeview.c

Modified: trunk/modules/other/gail/gailtreeview.c
==============================================================================
--- trunk/modules/other/gail/gailtreeview.c	(original)
+++ trunk/modules/other/gail/gailtreeview.c	Fri Jan 11 09:22:25 2008
@@ -1256,7 +1256,7 @@
       root_tree = gtk_tree_path_new_root ();
       iterate_thru_children (tree_view, tree_model,
                              root_tree, NULL, &n_rows, 0);
-      g_free (root_tree);
+      gtk_tree_path_free (root_tree);
     }
 
   return n_rows;



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