[gnote] Use non-deprecated drag_begin



commit 54ec5cd9381772738aa0e01abedf19487da54055
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sun May 23 21:33:51 2021 +0300

    Use non-deprecated drag_begin

 src/searchnoteswidget.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/searchnoteswidget.cpp b/src/searchnoteswidget.cpp
index 10e5db5e..ff8b9329 100644
--- a/src/searchnoteswidget.cpp
+++ b/src/searchnoteswidget.cpp
@@ -936,7 +936,7 @@ bool SearchNotesWidget::on_treeview_motion_notify(GdkEventMotion *ev)
     return retval;
   }
 
-  m_tree->drag_begin(Gtk::TargetList::create (m_targets), Gdk::ACTION_MOVE, 1, event);
+  m_tree->drag_begin(Gtk::TargetList::create (m_targets), Gdk::ACTION_MOVE, 1, event, 0, 0);
   return retval;
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]