summaryrefslogtreecommitdiff
path: root/gdk/gdkdnd.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-05-14 04:16:25 +0200
committerBenjamin Otte <otte@redhat.com>2018-06-18 23:49:19 +0200
commita05af1f0f3fcd18ed7feac92f2ce5397d4cf8751 (patch)
treed6f74ab94cd6733e3f22b987b4fdae779a0a7fcd /gdk/gdkdnd.c
parentb2dc303e5e7dde1648b26513afbf07989a1538bc (diff)
downloadgtk+-a05af1f0f3fcd18ed7feac92f2ce5397d4cf8751.tar.gz
dnd: Move the gdk_drag_status() function
It's now gdk_drop_status(). Also clarify the intended semantics.
Diffstat (limited to 'gdk/gdkdnd.c')
-rw-r--r--gdk/gdkdnd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdk/gdkdnd.c b/gdk/gdkdnd.c
index 2ddc075c54..ddc155f553 100644
--- a/gdk/gdkdnd.c
+++ b/gdk/gdkdnd.c
@@ -533,9 +533,7 @@ gdk_drag_status (GdkDragContext *context,
GdkDragAction action,
guint32 time_)
{
- g_return_if_fail (GDK_IS_DRAG_CONTEXT (context));
-
- GDK_DRAG_CONTEXT_GET_CLASS (context)->drag_status (context, action, time_);
+ gdk_drop_status (GDK_DROP (context), action);
}
/*