[nautilus/gnome-2-32] pathbar: use g_list_free_1 where appropriate



commit 8c4ccf90c50a81df8f0e931adc063465741cbb49
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Sat Aug 14 02:07:02 2010 +0200

    pathbar: use g_list_free_1 where appropriate

 src/nautilus-pathbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c
index 4466ad6..93b217a 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -827,7 +827,7 @@ nautilus_path_bar_remove (GtkContainer *container,
                 if (widget == BUTTON_DATA (children->data)->button) {
 			nautilus_path_bar_remove_1 (container, widget);
 	  		path_bar->button_list = g_list_remove_link (path_bar->button_list, children);
-	  		g_list_free (children);
+	  		g_list_free_1 (children);
 	  		return;
 		}
                 children = children->next;



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