ui/gtk/tree.c

changeset 151
11f3bb408051
parent 150
5cee4cb5ad79
child 152
62921b370c60
--- a/ui/gtk/tree.c	Wed Nov 22 09:49:26 2017 +0100
+++ b/ui/gtk/tree.c	Wed Nov 22 12:59:13 2017 +0100
@@ -151,16 +151,6 @@
     
 }
 
-static gboolean drag_failed(
-        GtkWidget *widget,
-        GdkDragContext *context,
-        GtkDragResult result,
-        gpointer udata)
-{
-    printf("drag failed: %d\n", result);
-    
-}
-
 static GtkTargetEntry targetentries[] =
     {
       { "STRING",        0, 0 },
@@ -216,7 +206,6 @@
     
     //g_signal_connect(view, "drag-begin", G_CALLBACK(drag_begin), NULL);
     //g_signal_connect(view, "drag-end", G_CALLBACK(drag_end), NULL);
-    //g_signal_connect(view, "drag-failed", G_CALLBACK(drag_failed), NULL);
        
     // add TreeView as observer to the UiList to update the TreeView if the
     // data changes

mercurial