[gnome-photos/gnome-3-24] thumbnailer: Fix typo and complete the right D-Bus call
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/gnome-3-24] thumbnailer: Fix typo and complete the right D-Bus call
- Date: Fri, 30 Jun 2017 18:46:37 +0000 (UTC)
commit 9d70654b733e345ae70ef107219f417718136559
Author: Debarshi Ray <debarshir gnome org>
Date: Mon Jun 26 19:29:12 2017 +0200
thumbnailer: Fix typo and complete the right D-Bus call
The GenerateThumbnail call will be completed as an after-effect of
cancelling the GCancellable. Instead, we should complete the Cancel
call here.
Fallout from db1a580a64c3b6fdd7d98e1bbaa9595d9870a2b5
https://bugzilla.gnome.org/show_bug.cgi?id=763329
src/photos-thumbnailer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-thumbnailer.c b/src/photos-thumbnailer.c
index 74d9246..315bf0f 100644
--- a/src/photos-thumbnailer.c
+++ b/src/photos-thumbnailer.c
@@ -573,7 +573,7 @@ photos_thumbnailer_handle_cancel (PhotosThumbnailer *self,
if (connection == connection_ongoing && (guint32) serial == serial_ongoing)
{
g_cancellable_cancel (cancellable);
- photos_thumbnailer_dbus_complete_generate_thumbnail (self->skeleton, invocation);
+ photos_thumbnailer_dbus_complete_cancel (self->skeleton, invocation);
goto out;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]