[nautilus] pathbar: use g_list_free_1 where appropriate



commit d8cfb36f697bdf9130e36cdb60c375a9b363fbbe
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 4c75ada..7b61c9f 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -828,7 +828,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]