summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-03-13 12:28:12 +0000
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-03-14 13:18:57 +0000
commit3a4d2433fbf2ef6f41b82482ea99ed79fb2d6735 (patch)
treec49a2ba04f0a18f378290b8213ea8e014dd759ca
parent71f095d734c93e22279c2ab8afe788182eb5bdbb (diff)
rhbz#1431476 dnd has started copying instead of moving slides
Is suspect something has changed in gtk3, and I think we're not supposed to use gdk_drag_drop_succeeded at this point, but instead we'd get a dragFailed signal on the failure case Change-Id: I6b305db56a29255b468ca9182d1f7e57cb4c10f4 (cherry picked from commit 4ea76db5e53235971b597a2810a6d12618d6aaea) Reviewed-on: https://gerrit.libreoffice.org/35135 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
-rw-r--r--vcl/unx/gtk3/gtk3gtkframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index 4b65a5527e12..2752fc75e172 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -4241,7 +4241,7 @@ void GtkDragSource::dragEnd(GdkDragContext* context)
{
datatransfer::dnd::DragSourceDropEvent aEv;
aEv.DropAction = GdkToVcl(gdk_drag_context_get_selected_action(context));
- aEv.DropSuccess = gdk_drag_drop_succeeded(context);
+ aEv.DropSuccess = true;
auto xListener = m_xListener;
m_xListener.clear();
xListener->dragDropEnd(aEv);