summaryrefslogtreecommitdiff
path: root/gtk/gtkstackswitcher.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-05-17 04:51:18 +0200
committerBenjamin Otte <otte@redhat.com>2018-06-18 23:49:52 +0200
commitb00609c21c388cd4353cabf6290d85bd7277a3d9 (patch)
tree3333132cd478da5ba923bbb4b7ff2e8ac20a522d /gtk/gtkstackswitcher.c
parent6d7cb2b78195e486995e0f4f821e8e17b0b89eea (diff)
downloadgtk+-b00609c21c388cd4353cabf6290d85bd7277a3d9.tar.gz
dnd: Make drag-motion and drag-drop signals use GdkDrop
Diffstat (limited to 'gtk/gtkstackswitcher.c')
-rw-r--r--gtk/gtkstackswitcher.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk/gtkstackswitcher.c b/gtk/gtkstackswitcher.c
index 7d70c96906..bb3b692090 100644
--- a/gtk/gtkstackswitcher.c
+++ b/gtk/gtkstackswitcher.c
@@ -291,11 +291,10 @@ gtk_stack_switcher_switch_timeout (gpointer data)
}
static gboolean
-gtk_stack_switcher_drag_motion (GtkWidget *widget,
- GdkDragContext *context,
- gint x,
- gint y,
- guint time)
+gtk_stack_switcher_drag_motion (GtkWidget *widget,
+ GdkDrop *drop,
+ gint x,
+ gint y)
{
GtkStackSwitcher *self = GTK_STACK_SWITCHER (widget);
GtkStackSwitcherPrivate *priv;