[gtk+] Remove unused argument



commit 07eb8d69520e0acd744af420657463e42ecb0e14
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Nov 28 11:34:37 2011 -0600

    Remove unused argument
    
    Signed-off-by: Federico Mena Quintero <federico gnome org>

 gtk/gtkpathbar.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkpathbar.c b/gtk/gtkpathbar.c
index 9e2fbb6..5d5ef2d 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -1671,8 +1671,7 @@ make_directory_button (GtkPathBar  *path_bar,
 
 static gboolean
 gtk_path_bar_check_parent_path (GtkPathBar         *path_bar,
-				GFile              *file,
-				GtkFileSystem      *file_system)
+				GFile              *file)
 {
   GList *list;
   GList *current_path = NULL;
@@ -1858,8 +1857,7 @@ _gtk_path_bar_set_file (GtkPathBar      *path_bar,
   /* Check whether the new path is already present in the pathbar as buttons.
    * This could be a parent directory or a previous selected subdirectory.
    */
-  if (keep_trail &&
-      gtk_path_bar_check_parent_path (path_bar, file, path_bar->file_system))
+  if (keep_trail && gtk_path_bar_check_parent_path (path_bar, file))
     return TRUE;
 
   info = g_new0 (struct SetFileInfo, 1);



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