[evince] Remove unneeded GLIB_CHECK_VERSION macros
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Remove unneeded GLIB_CHECK_VERSION macros
- Date: Mon, 3 May 2010 12:56:45 +0000 (UTC)
commit 5e37f3096370b699ad7a9ebb58eacf96e52761e2
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Mon May 3 14:56:06 2010 +0200
Remove unneeded GLIB_CHECK_VERSION macros
libdocument/ev-file-helpers.c | 2 --
shell/ev-metadata.c | 2 --
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++) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]