forked from AuroraMiddleware/gtk
Plug leak: When reordering the info in the list the old node is removed
2007-12-15 Xan Lopez <xan.lopez@nokia.com> * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder): Plug leak: When reordering the info in the list the old node is removed but not freed. (#503569) svn path=/trunk/; revision=19184
This commit is contained in:
parent
33499debed
commit
447de09918
@ -1,3 +1,10 @@
|
||||
2007-12-15 Xan Lopez <xan.lopez@nokia.com>
|
||||
|
||||
* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
|
||||
|
||||
Plug leak: When reordering the info in the list the old node is
|
||||
removed but not freed. (#503569)
|
||||
|
||||
2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
|
||||
|
||||
* gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
|
||||
|
@ -762,7 +762,7 @@ gtk_tree_view_column_cell_layout_reorder (GtkCellLayout *cell_layout,
|
||||
|
||||
g_return_if_fail (link != NULL);
|
||||
|
||||
column->cell_list = g_list_remove_link (column->cell_list, link);
|
||||
column->cell_list = g_list_delete_link (column->cell_list, link);
|
||||
column->cell_list = g_list_insert (column->cell_list, info, position);
|
||||
|
||||
if (column->tree_view)
|
||||
|
Loading…
Reference in New Issue
Block a user