summary refs log tree commit diff stats
path: root/src/fe-gtk/chanview-tree.c
diff options
context:
space:
mode:
authorTingPing <tingping@fedoraproject.org>2014-05-23 18:47:27 -0400
committerTingPing <tingping@fedoraproject.org>2014-05-23 18:47:27 -0400
commit011514e1ad5bc3b2b07da4702b8135ee7efdf179 (patch)
treea512d2f4ad369d910e6c482946addeb4290480fd /src/fe-gtk/chanview-tree.c
parent6fb8cf40e1df25daedf8d2f1ba4557eb05c94909 (diff)
Enable drag and drop on Windows
The issues around it no longer seem to exist in current GTK
Diffstat (limited to 'src/fe-gtk/chanview-tree.c')
-rw-r--r--src/fe-gtk/chanview-tree.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/fe-gtk/chanview-tree.c b/src/fe-gtk/chanview-tree.c
index 07806860..4a1682ba 100644
--- a/src/fe-gtk/chanview-tree.c
+++ b/src/fe-gtk/chanview-tree.c
@@ -167,7 +167,6 @@ cv_tree_init (chanview *cv)
 							 GDK_ACTION_MOVE | GDK_ACTION_COPY | GDK_ACTION_LINK);
 	gtk_drag_source_set (view, GDK_BUTTON1_MASK, dnd_src_target, 1, GDK_ACTION_COPY);
 
-#ifndef WIN32
 	g_signal_connect (G_OBJECT (view), "drag_begin",
 							G_CALLBACK (mg_drag_begin_cb), NULL);
 	g_signal_connect (G_OBJECT (view), "drag_drop",
@@ -176,7 +175,6 @@ cv_tree_init (chanview *cv)
 							G_CALLBACK (mg_drag_motion_cb), NULL);
 	g_signal_connect (G_OBJECT (view), "drag_end",
 							G_CALLBACK (mg_drag_end_cb), NULL);
-#endif
 
 	((treeview *)cv)->tree = GTK_TREE_VIEW (view);
 	((treeview *)cv)->scrollw = win;