diff --git a/thunar/thunar-shortcuts-view.c b/thunar/thunar-shortcuts-view.c
index a2e154e590ff2dc63943be91c2337dec09413ce3..97d63a0363686e5150110054f06648e18857cc9f 100644
--- a/thunar/thunar-shortcuts-view.c
+++ b/thunar/thunar-shortcuts-view.c
@@ -1965,7 +1965,8 @@ thunar_shortcuts_view_poke_device_mount_finish (ThunarBrowser *browser,
                                                 ThunarDevice  *device,
                                                 ThunarFile    *mount_point,
                                                 GError        *error,
-                                                gpointer       ignored)
+                                                gpointer       ignored,
+                                                gboolean       cancelled)
 {
   gchar        *device_name;
   GtkTreeModel *model;