]> Pileus Git - ~andy/gtk/commitdiff
Remove unused argument
authorFederico Mena Quintero <federico@gnome.org>
Mon, 28 Nov 2011 17:34:37 +0000 (11:34 -0600)
committerFederico Mena Quintero <federico@gnome.org>
Tue, 29 Nov 2011 20:17:00 +0000 (14:17 -0600)
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
gtk/gtkpathbar.c

index 9e2fbb62a62d2a41a2bb64dd37c84d05a7df0ab4..5d5ef2d201285a0f101b224c8bb364f0fcd98747 100644 (file)
@@ -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);