[evolution/wip/lantw/autoar-0.2] Update supported gnome-autoar API version to 0.2
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/wip/lantw/autoar-0.2] Update supported gnome-autoar API version to 0.2
- Date: Sun, 5 Feb 2017 19:08:18 +0000 (UTC)
commit 955fee2d18c8d46408297aad32e28aeec3f9f560
Author: Ting-Wei Lan <lantw src gnome org>
Date: Mon Feb 6 03:06:00 2017 +0800
Update supported gnome-autoar API version to 0.2
CMakeLists.txt | 6 +++---
src/e-util/e-attachment-store.c | 2 +-
src/e-util/e-attachment.c | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 959c62d..cb68958 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -86,7 +86,7 @@ set(champlain_minimum_version 0.12)
set(clutter_gtk_minimum_version 0.90)
set(geocode_glib_minimum_version 3.10)
set(gladeui_minimum_version 3.10.0)
-set(gnome_autoar_minimum_version 0.1.1)
+set(gnome_autoar_minimum_version 0.2)
set(gweather_minimum_version 3.10)
set(libcanberra_gtk_minimum_version 0.25)
set(libnotify_minimum_version 0.7)
@@ -305,8 +305,8 @@ add_printable_option(ENABLE_AUTOAR "Enable archives support in attachments" ON)
if(ENABLE_AUTOAR)
pkg_check_modules_for_option(ENABLE_AUTOAR "archives support in attachments" AUTOAR
- gnome-autoar-0>=${gnome_autoar_minimum_version}
- gnome-autoar-gtk-0>=${gnome_autoar_minimum_version}
+ gnome-autoar-0.2>=${gnome_autoar_minimum_version}
+ gnome-autoar-gtk-0.2>=${gnome_autoar_minimum_version}
)
set(HAVE_AUTOAR ON)
endif(ENABLE_AUTOAR)
diff --git a/src/e-util/e-attachment-store.c b/src/e-util/e-attachment-store.c
index fb3c4d8..9b2413f 100644
--- a/src/e-util/e-attachment-store.c
+++ b/src/e-util/e-attachment-store.c
@@ -28,7 +28,7 @@
#ifdef HAVE_AUTOAR
#include <gnome-autoar/gnome-autoar.h>
-#include <gnome-autoar/autoar-gtk.h>
+#include <gnome-autoar-gtk/gnome-autoar-gtk.h>
#endif
#include "e-mktemp.h"
diff --git a/src/e-util/e-attachment.c b/src/e-util/e-attachment.c
index b058bd1..ccad397 100644
--- a/src/e-util/e-attachment.c
+++ b/src/e-util/e-attachment.c
@@ -3039,7 +3039,7 @@ attachment_save_read_cb (GInputStream *input_stream,
#ifdef HAVE_AUTOAR
static GFile*
-attachment_save_extracted_decide_destination_cb (AutoarExtractor *extractor,
+attachment_save_extracted_change_destination_cb (AutoarExtractor *extractor,
GFile *destination,
GList *files,
SaveContext *save_context)
@@ -3134,8 +3134,8 @@ attachament_save_write_archive_cb (GOutputStream *output_stream,
autoar_extractor_set_delete_after_extraction (extractor, TRUE);
- g_signal_connect (extractor, "decide-destination",
- G_CALLBACK (attachment_save_extracted_decide_destination_cb),
+ g_signal_connect (extractor, "change-destination",
+ G_CALLBACK (attachment_save_extracted_change_destination_cb),
save_context);
g_signal_connect (extractor, "progress",
G_CALLBACK (attachment_save_extracted_progress_cb),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]