[gnome-autoar/wip/razvan/evolution_fixes: 4/4] AutoarExtractor: make "decide-destination" emission synchronous



commit 814908df144daf91f657c9730d3d290a5927b166
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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=770437

 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 396d131..0ec1aa1 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]