diff options
author | Benjamin Otte <otte@redhat.com> | 2011-02-01 17:29:33 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-02-01 18:51:57 +0100 |
commit | 9210347600c640becebe19ac12de5bdf332acaa5 (patch) | |
tree | 220b1a030ddaccecfdde77e3f82522758df591a7 /gdk | |
parent | 5bc04bc07be16732e0ec2ddecbb0fcfc46a929c7 (diff) | |
download | gtk+-9210347600c640becebe19ac12de5bdf332acaa5.tar.gz |
API: gdk: Make GDK_DRAG_PROTOCOL_NONE equal to 0
THis way, we can do comparisons like "if (protocol)"
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/gdkdnd.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/gdkdnd.h b/gdk/gdkdnd.h index 06c5f31ccf..5840569449 100644 --- a/gdk/gdkdnd.h +++ b/gdk/gdkdnd.h @@ -67,11 +67,11 @@ typedef enum /** * GdkDragProtocol: + * @GDK_DRAG_PROTO_NONE: no protocol. * @GDK_DRAG_PROTO_MOTIF: The Motif DND protocol. * @GDK_DRAG_PROTO_XDND: The Xdnd protocol. * @GDK_DRAG_PROTO_ROOTWIN: An extension to the Xdnd protocol for * unclaimed root window drops. - * @GDK_DRAG_PROTO_NONE: no protocol. * @GDK_DRAG_PROTO_WIN32_DROPFILES: The simple WM_DROPFILES protocol. * @GDK_DRAG_PROTO_OLE2: The complex OLE2 DND protocol (not implemented). * @GDK_DRAG_PROTO_LOCAL: Intra-application DND. @@ -81,10 +81,10 @@ typedef enum */ typedef enum { + GDK_DRAG_PROTO_NONE = 0, GDK_DRAG_PROTO_MOTIF, GDK_DRAG_PROTO_XDND, GDK_DRAG_PROTO_ROOTWIN, - GDK_DRAG_PROTO_NONE, GDK_DRAG_PROTO_WIN32_DROPFILES, GDK_DRAG_PROTO_OLE2, GDK_DRAG_PROTO_LOCAL |