From 67f9d9b4ee228bc14bbb55c3ae463c6f3d5f4cb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Mon, 18 Mar 2019 21:12:47 +0100 Subject: [PATCH] Add source for ListBox Drag and Drop --- layer/layer-selector.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layer/layer-selector.c b/layer/layer-selector.c index 6e9ef41..772aa39 100644 --- a/layer/layer-selector.c +++ b/layer/layer-selector.c @@ -56,7 +56,9 @@ struct _LayerSelector { G_DEFINE_TYPE(LayerSelector, layer_selector, G_TYPE_OBJECT) -/* Drag and drop code */ +/* Drag and drop code + * Original code from https://blog.gtk.org/2017/06/01/drag-and-drop-in-lists-revisited/ + */ static void sel_layer_element_drag_begin(GtkWidget *widget, GdkDragContext *context, gpointer data) {