diff options
author | Benjamin Otte <otte@redhat.com> | 2018-05-08 13:56:08 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-06-18 23:49:19 +0200 |
commit | ac44353f9b81fd0de45a7d5bb8ca37ebff38b6b7 (patch) | |
tree | 9d5bd29a99d591971b50eaa8d9a65ef8dc44a7b0 /gdk/gdkdnd.c | |
parent | 6919d8c532f6db48d320e348d55934a537547f01 (diff) | |
download | gtk+-ac44353f9b81fd0de45a7d5bb8ca37ebff38b6b7.tar.gz |
dnd: Remove GDK_ACTION_DEFAULT and GDK_ACTION_PRIVATE
They're unused and nobody knows what they're supposed to men anyway.
Diffstat (limited to 'gdk/gdkdnd.c')
-rw-r--r-- | gdk/gdkdnd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c index debefb0796..47da69eda3 100644 --- a/gdk/gdkdnd.c +++ b/gdk/gdkdnd.c @@ -53,7 +53,6 @@ static struct { const gchar *name; GdkCursor *cursor; } drag_cursors[] = { - { GDK_ACTION_DEFAULT, NULL, NULL }, { GDK_ACTION_ASK, "dnd-ask", NULL }, { GDK_ACTION_COPY, "dnd-copy", NULL }, { GDK_ACTION_MOVE, "dnd-move", NULL }, @@ -167,7 +166,7 @@ gdk_drag_context_get_formats (GdkDragContext *context) GdkDragAction gdk_drag_context_get_actions (GdkDragContext *context) { - g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), GDK_ACTION_DEFAULT); + g_return_val_if_fail (GDK_IS_DRAG_CONTEXT (context), 0); return context->actions; } |