[gtk+/gtk-3-2] Remove unused argument



commit 674404f17135f7549bd3b57e1f944f4717e82ccd
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 14e6ebe..b48bc14 100644
--- a/gtk/gtkpathbar.c
+++ b/gtk/gtkpathbar.c
@@ -1666,8 +1666,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;
@@ -1853,8 +1852,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]