summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-05-14 16:44:43 +0200
committerBenjamin Otte <otte@redhat.com>2018-06-18 23:49:20 +0200
commit5b0a6a52c18668685f9ad8fdc96d799aec8a620a (patch)
tree323861c96aa803968ca69d73f48f55c88255e8f3 /gtk/gtknotebook.c
parent13ae11ee01ce753644b64a4813dd5551ad3aa963 (diff)
downloadgtk+-5b0a6a52c18668685f9ad8fdc96d799aec8a620a.tar.gz
dnd: Get rid of gtk_drag_finish()
It's just a wrapper around gdk_drag_finish(), so use that one instead.
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r--gtk/gtknotebook.c4
1 files changed, 2 insertions, 2 deletions
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 :