From 4fe58c01f9c9af6e711e319d2d03aaccf411d0a8 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Sat, 15 Apr 2000 16:22:52 +0000 Subject: clean up enum format, remove extra comma, this keeps scanner scripts from 2000-04-15 Havoc Pennington * gdk/gdkdnd.h: clean up enum format, remove extra comma, this keeps scanner scripts from getting confused. * gdk/gdkdraw.c (gdk_drawable_get_data): This should return the data, rather than void --- gdk/gdkdnd.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'gdk/gdkdnd.h') diff --git a/gdk/gdkdnd.h b/gdk/gdkdnd.h index 3d5e802e9b..916bd2e8e0 100644 --- a/gdk/gdkdnd.h +++ b/gdk/gdkdnd.h @@ -9,7 +9,8 @@ extern "C" { typedef struct _GdkDragContext GdkDragContext; -typedef enum { +typedef enum +{ GDK_ACTION_DEFAULT = 1 << 0, GDK_ACTION_COPY = 1 << 1, GDK_ACTION_MOVE = 1 << 2, @@ -18,14 +19,15 @@ typedef enum { GDK_ACTION_ASK = 1 << 5 } GdkDragAction; -typedef enum { +typedef enum +{ GDK_DRAG_PROTO_MOTIF, GDK_DRAG_PROTO_XDND, GDK_DRAG_PROTO_ROOTWIN, /* A root window with nobody claiming * drags */ GDK_DRAG_PROTO_NONE, /* Not a valid drag window */ GDK_DRAG_PROTO_WIN32_DROPFILES, /* The simple WM_DROPFILES dnd */ - GDK_DRAG_PROTO_OLE2, /* The complex OLE2 dnd (not implemented) */ + GDK_DRAG_PROTO_OLE2 /* The complex OLE2 dnd (not implemented) */ } GdkDragProtocol; /* Structure that holds information about a drag in progress. -- cgit v1.2.1