[gnome-autoar/wip/razvan/autoar-fixes: 4/4] AutoarExtractor: make "decide-destination" emission synchronous
- From: Răzvan-Mihai Chițu <razvanchitu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-autoar/wip/razvan/autoar-fixes: 4/4] AutoarExtractor: make "decide-destination" emission synchronous
- Date: Fri, 26 Aug 2016 11:26:46 +0000 (UTC)
commit 00779fa825a2781366d2e89c9086c323520a3dcb
Author: Razvan Chitu <razvan ch95 gmail com>
Date: Fri Aug 26 14:23:41 2016 +0300
AutoarExtractor: make "decide-destination" emission synchronous
Since "decide-destination" requires the client to provide a new destination, it
cannot be executed asynchronously in the main context. In order to fix this, use
g_signal_emit instead.
gnome-autoar/autoar-extractor.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/gnome-autoar/autoar-extractor.c b/gnome-autoar/autoar-extractor.c
index 96a14cc..d38f43e 100644
--- a/gnome-autoar/autoar-extractor.c
+++ b/gnome-autoar/autoar-extractor.c
@@ -727,11 +727,11 @@ autoar_extractor_signal_decide_destination (AutoarExtractor *self,
GList *files,
GFile **new_destination)
{
- autoar_common_g_signal_emit (self, self->in_thread,
- autoar_extractor_signals[DECIDE_DESTINATION], 0,
- destination,
- files,
- new_destination);
+ g_signal_emit (self,
+ autoar_extractor_signals[DECIDE_DESTINATION], 0,
+ destination,
+ files,
+ new_destination);
}
static inline void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]