[libgxps/wip/nacho/visibility: 5/13] archive: do not use deprecated method
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgxps/wip/nacho/visibility: 5/13] archive: do not use deprecated method
- Date: Fri, 9 Sep 2016 13:39:06 +0000 (UTC)
commit d504f7a0af422e1fb4b5864238abe8f6c37d52d5
Author: Ignacio Casal Quinteiro <ignacio casal nice-software com>
Date: Thu Sep 8 14:35:36 2016 +0200
archive: do not use deprecated method
archive_read_finish is deprecated and archive_read_free should be
used instead.
https://bugzilla.gnome.org/show_bug.cgi?id=771057
libgxps/gxps-archive.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgxps/gxps-archive.c b/libgxps/gxps-archive.c
index ae6fb90..7748439 100644
--- a/libgxps/gxps-archive.c
+++ b/libgxps/gxps-archive.c
@@ -165,7 +165,7 @@ gxps_zip_archive_iter_next (ZipArchive *zip,
static void
gxps_zip_archive_destroy (ZipArchive *zip)
{
- archive_read_finish (zip->archive);
+ archive_read_free (zip->archive);
g_slice_free (ZipArchive, zip);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]