summaryrefslogtreecommitdiff
path: root/shell/ev-metadata.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/ev-metadata.c')
-rw-r--r--shell/ev-metadata.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/shell/ev-metadata.c b/shell/ev-metadata.c
index da393e1b..dba8e511 100644
--- a/shell/ev-metadata.c
+++ b/shell/ev-metadata.c
@@ -290,6 +290,13 @@ ev_metadata_set_boolean (EvMetadata *metadata,
}
gboolean
+ev_metadata_has_key (EvMetadata *metadata,
+ const gchar *key)
+{
+ return g_hash_table_lookup (metadata->items, key) != NULL;
+}
+
+gboolean
ev_is_metadata_supported_for_file (GFile *file)
{
GFileAttributeInfoList *namespaces;