diff options
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r-- | mail/em-folder-tree.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index a0af89920f..87a2ad9c4b 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -938,23 +938,6 @@ emft_drop_async__exec (struct _DragDataReceivedAsync *m) } static void -emft_drop_async__done (struct _DragDataReceivedAsync *m) -{ - gboolean success, delete; - - /* ?? */ - if (m->aborted) { - success = FALSE; - delete = FALSE; - } else { - success = !camel_exception_is_set (&m->base.ex); - delete = success && m->move && !m->moved; - } - - gtk_drag_finish (m->context, success, delete, GDK_CURRENT_TIME); -} - -static void emft_drop_async__free (struct _DragDataReceivedAsync *m) { g_object_unref(m->context); @@ -969,7 +952,7 @@ static MailMsgInfo emft_drop_async_info = { sizeof (struct _DragDataReceivedAsync), (MailMsgDescFunc) emft_drop_async__desc, (MailMsgExecFunc) emft_drop_async__exec, - (MailMsgDoneFunc) emft_drop_async__done, + (MailMsgDoneFunc) NULL, (MailMsgFreeFunc) emft_drop_async__free }; |