Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdocument/ev-file-helpers.c2
-rw-r--r--shell/ev-metadata.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/libdocument/ev-file-helpers.c b/libdocument/ev-file-helpers.c
index 09890d7..e0392f4 100644
--- a/libdocument/ev-file-helpers.c
+++ b/libdocument/ev-file-helpers.c
@@ -397,9 +397,7 @@ ev_xfer_uri_simple (const char *from,
target_file = g_file_new_for_uri (to);
result = g_file_copy (source_file, target_file,
-#if GLIB_CHECK_VERSION(2,19,0)
G_FILE_COPY_TARGET_DEFAULT_PERMS |
-#endif
G_FILE_COPY_OVERWRITE,
NULL, NULL, NULL, error);
diff --git a/shell/ev-metadata.c b/shell/ev-metadata.c
index 4deb084..e69ecbd 100644
--- a/shell/ev-metadata.c
+++ b/shell/ev-metadata.c
@@ -89,13 +89,11 @@ ev_metadata_load (EvMetadata *metadata)
return;
}
-#if GLIB_CHECK_VERSION(2,22,0)
if (!g_file_info_has_namespace (info, "metadata")) {
g_object_unref (info);
return;
}
-#endif
attrs = g_file_info_list_attributes (info, "metadata");
for (i = 0; attrs[i]; i++) {