[gnome-todo] task-list-view: Use gtk_drop_target_get_current_drop



commit 60a473d6b5ed4a37d1c3392ce9dc6936837c548c
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Fri Jul 2 11:23:35 2021 -0300

    task-list-view: Use gtk_drop_target_get_current_drop
    
    gtk_drop_target_get_drop is deprecated, switch to the non-deprecated
    variant.

 src/gui/gtd-task-list-view.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gui/gtd-task-list-view.c b/src/gui/gtd-task-list-view.c
index 11564a02..2690b60a 100644
--- a/src/gui/gtd-task-list-view.c
+++ b/src/gui/gtd-task-list-view.c
@@ -814,7 +814,7 @@ on_drop_target_drag_motion_cb (GtkDropTarget   *drop_target,
 
   GTD_ENTRY;
 
-  drop = gtk_drop_target_get_drop (drop_target);
+  drop = gtk_drop_target_get_current_drop (drop_target);
   drag = gdk_drop_get_drag (drop);
 
   if (!drag)
@@ -850,7 +850,7 @@ on_drop_target_drag_drop_cb (GtkDropTarget   *drop_target,
 
   GTD_ENTRY;
 
-  drop = gtk_drop_target_get_drop (drop_target);
+  drop = gtk_drop_target_get_current_drop (drop_target);
   drag = gdk_drop_get_drag (drop);
 
   if (!drag)


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