static void add_file (GtkFileSystemModel *model,
GFile *file,
GFileInfo *info);
+static void remove_file (GtkFileSystemModel *model,
+ GFile *file);
+
/* iter setup:
* @user_data: the model
* @user_data2: GUINT_TO_POINTER of array index of current entry
model);
break;
case G_FILE_MONITOR_EVENT_DELETED:
- _gtk_file_system_model_remove_file (model, file);
+ remove_file (model, file);
break;
case G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT:
/* FIXME: use freeze/thaw with this somehow? */
}
/**
- * _gtk_file_system_model_remove_file:
+ * remove_file:
* @model: the model
* @file: file to remove from the model. The file must have been
* added to the model previously
* Removes the given file from the model. If the file is not part of
* @model, this function does nothing.
**/
-void
-_gtk_file_system_model_remove_file (GtkFileSystemModel *model,
- GFile *file)
+static void
+remove_file (GtkFileSystemModel *model,
+ GFile *file)
{
FileModelNode *node;
guint id;