[gimp/soc-2010-cage] app: free the list returned by gtk_container_get_children()



commit 474eeea99ea55d4a20042973407432e59c6873b1
Author: Michael Natterer <mitch gimp org>
Date:   Tue Jun 22 23:05:28 2010 +0200

    app: free the list returned by gtk_container_get_children()

 app/widgets/gimpitemtreeview.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpitemtreeview.c b/app/widgets/gimpitemtreeview.c
index b06f0c2..e6b55db 100644
--- a/app/widgets/gimpitemtreeview.c
+++ b/app/widgets/gimpitemtreeview.c
@@ -525,7 +525,7 @@ gimp_item_tree_view_style_set (GtkWidget *widget,
           gtk_box_set_spacing (GTK_BOX (child), button_spacing);
         }
 
-      g_list_free (list);
+      g_list_free (children);
     }
 
   if (view->priv->lock_box)



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