Commit 1ba0a493 authored by Carlos Garnacho's avatar Carlos Garnacho

libtracker-miner: Drop tracker_file_notifier_get_file_type()

This function is now unused.
parent 7a00ec63
......@@ -2078,25 +2078,3 @@ tracker_file_notifier_invalidate_file_iri (TrackerFileNotifier *notifier,
-1,
priv->file_system);
}
GFileType
tracker_file_notifier_get_file_type (TrackerFileNotifier *notifier,
GFile *file)
{
TrackerFileNotifierPrivate *priv;
GFile *canonical;
g_return_val_if_fail (TRACKER_IS_FILE_NOTIFIER (notifier), G_FILE_TYPE_UNKNOWN);
g_return_val_if_fail (G_IS_FILE (file), G_FILE_TYPE_UNKNOWN);
priv = tracker_file_notifier_get_instance_private (notifier);
canonical = tracker_file_system_get_file (priv->file_system,
file,
G_FILE_TYPE_REGULAR,
NULL);
if (!canonical) {
return G_FILE_TYPE_UNKNOWN;
}
return tracker_file_system_get_file_type (priv->file_system, canonical);
}
......@@ -95,9 +95,6 @@ void tracker_file_notifier_invalidate_file_iri (TrackerFileNotifier *no
gboolean tracker_file_notifier_query_file_exists (TrackerFileNotifier *notifier,
GFile *file);
GFileType tracker_file_notifier_get_file_type (TrackerFileNotifier *notifier,
GFile *file);
G_END_DECLS
#endif /* __TRACKER_FILE_SYSTEM_H__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment