From 5b0a6a52c18668685f9ad8fdc96d799aec8a620a Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 14 May 2018 16:44:43 +0200 Subject: dnd: Get rid of gtk_drag_finish() It's just a wrapper around gdk_drag_finish(), so use that one instead. --- gtk/gtknotebook.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/gtknotebook.c') diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 1d1cda8e1f..4953f33e44 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -3265,10 +3265,10 @@ gtk_notebook_drag_data_received (GtkWidget *widget, child = (void*) gtk_selection_data_get_data (data); do_detach_tab (GTK_NOTEBOOK (source_widget), notebook, *child); - gtk_drag_finish (context, TRUE, time); + gdk_drag_finish (context, TRUE, time); } else - gtk_drag_finish (context, FALSE, time); + gdk_drag_finish (context, FALSE, time); } /* Private GtkContainer Methods : -- cgit v1.2.1