From 5e37f3096370b699ad7a9ebb58eacf96e52761e2 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Mon, 3 May 2010 14:56:06 +0200 Subject: [PATCH] Remove unneeded GLIB_CHECK_VERSION macros --- libdocument/ev-file-helpers.c | 2 -- shell/ev-metadata.c | 2 -- 2 files changed, 4 deletions(-) diff --git a/libdocument/ev-file-helpers.c b/libdocument/ev-file-helpers.c index 09890d76..e0392f43 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 4deb0846..e69ecbdc 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++) { -- 2.43.0