]> www.fi.muni.cz Git - evince.git/commitdiff
Remove unneeded GLIB_CHECK_VERSION macros
authorCarlos Garcia Campos <carlosgc@gnome.org>
Mon, 3 May 2010 12:56:06 +0000 (14:56 +0200)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Mon, 3 May 2010 12:56:06 +0000 (14:56 +0200)
libdocument/ev-file-helpers.c
shell/ev-metadata.c

index 09890d76200c538a45b92e3e20180b3edc8ac624..e0392f43089fa0ef866c27bc020559d91202b060 100644 (file)
@@ -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);
 
index 4deb08460f43b5e0b6c4f9ac2c9eb12a6104e352..e69ecbdc6e906eb632ba47bd42d2714788597ff7 100644 (file)
@@ -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++) {