[gnome-photos] thumbnailer: Fix typo and complete the right D-Bus call



commit 9447ec2703dd82526f203b7f7dfa154848ac1569
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 cec79c0..34f70a9 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]