[gnome-todo] dnd-row: don't setup as a drop target



commit 07baad69f0115158ce9e286a5e6efe02d3eac2c8
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Oct 25 23:36:25 2016 -0200

    dnd-row: don't setup as a drop target
    
    Since the tasklist view widget now handles all the DnD operations,
    it doesn't make sense to have the DnD row to setup itself as a drop
    target.

 src/gtd-dnd-row.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/gtd-dnd-row.c b/src/gtd-dnd-row.c
index f1b6580..fbe7291 100644
--- a/src/gtd-dnd-row.c
+++ b/src/gtd-dnd-row.c
@@ -145,12 +145,6 @@ static void
 gtd_dnd_row_init (GtdDndRow *self)
 {
   gtk_widget_init_template (GTK_WIDGET (self));
-
-  gtk_drag_dest_set (GTK_WIDGET (self),
-                     0,
-                     NULL,
-                     0,
-                     GDK_ACTION_MOVE);
 }
 
 GtkWidget*


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