[gtk+] Fix DND



commit 329f7af1597cefa922d731a89b470b6fe9a18145
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Mar 20 23:54:49 2013 -0400

    Fix DND
    
    The removal of the Motif DND code accidentally changed the
    value of the TARGET_DELETE enumeration value, breaking DND
    pretty badly.

 gtk/gtkdnd.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 2431f98..83655f0 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -185,7 +185,7 @@ typedef gboolean (* GtkDragDestCallback) (GtkWidget      *widget,
 /* Enumeration for some targets we handle internally */
 
 enum {
-  TARGET_DELETE
+  TARGET_DELETE = 0x40000002
 };
 
 /* Forward declarations */


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