[shotwell/wip/phako/enhanced-faces: 4/5] facedetect: Fix terminate() call
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell/wip/phako/enhanced-faces: 4/5] facedetect: Fix terminate() call
- Date: Thu, 11 Oct 2018 11:17:28 +0000 (UTC)
commit 30c1eac19287fe70abbea99f96da4b52011c6f27
Author: Jens Georg <mail jensge org>
Date: Thu Oct 11 13:10:11 2018 +0200
facedetect: Fix terminate() call
subprojects/shotwell-facedetect/shotwell-facedetect.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/subprojects/shotwell-facedetect/shotwell-facedetect.cpp
b/subprojects/shotwell-facedetect/shotwell-facedetect.cpp
index 6a3dd077..a0356465 100644
--- a/subprojects/shotwell-facedetect/shotwell-facedetect.cpp
+++ b/subprojects/shotwell-facedetect/shotwell-facedetect.cpp
@@ -73,9 +73,12 @@ static gboolean on_handle_face_to_vec(ShotwellFaces1 *object,
}
static gboolean on_handle_terminate(ShotwellFaces1 *object,
- GDBusMethodInvocation *invocation) {
+ GDBusMethodInvocation *invocation,
+ gpointer user_data) {
g_debug("Exiting...");
shotwell_faces1_complete_terminate(object, invocation);
+ g_main_loop_quit(reinterpret_cast<GMainLoop *>(user_data));
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]