summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-05-08 00:47:26 +0200
committerBenjamin Otte <otte@redhat.com>2018-06-18 23:49:19 +0200
commit6919d8c532f6db48d320e348d55934a537547f01 (patch)
tree3d3d340a67de3dfec6d31548dd64a66b52795445 /gtk
parentf247d268d4aa02c945ed7297080b685d9df79464 (diff)
downloadgtk+-6919d8c532f6db48d320e348d55934a537547f01.tar.gz
drop: Move gdk_drop_read_async() to GdkDrop class
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkdnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index 883f9affc1..f84659306b 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -241,7 +241,7 @@ gtk_drag_get_data_got_stream (GObject *source,
GInputStream *input_stream;
GOutputStream *output_stream;
- input_stream = gdk_drop_read_finish (GDK_DRAG_CONTEXT (source), &data->mime_type, result, NULL);
+ input_stream = gdk_drop_read_finish (GDK_DROP (source), &data->mime_type, result, NULL);
if (input_stream == NULL)
{
gtk_drag_get_data_finish (data, NULL, 0);
@@ -297,7 +297,7 @@ gtk_drag_get_data (GtkWidget *widget,
data->mime_type = target;
data->time = time_;
- gdk_drop_read_async (context,
+ gdk_drop_read_async (GDK_DROP (context),
(const gchar *[2]) { target, NULL },
G_PRIORITY_DEFAULT,
NULL,