diff options
author | Benjamin Otte <otte@redhat.com> | 2018-06-16 04:49:47 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-06-18 23:49:53 +0200 |
commit | 9a91d3739dc1986651f384cc4021e1ac32453268 (patch) | |
tree | cd733af2ed056beb9c8ac48b65ad074a642a405c /gtk/gtkdnd.c | |
parent | a2839d157fa89eaca287b1aedca7dc72425cf60c (diff) | |
download | gtk+-9a91d3739dc1986651f384cc4021e1ac32453268.tar.gz |
widget: Remove time argument from drag_data_get() vfunc
Diffstat (limited to 'gtk/gtkdnd.c')
-rw-r--r-- | gtk/gtkdnd.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c index 0e65293fcc..f81aa70ae2 100644 --- a/gtk/gtkdnd.c +++ b/gtk/gtkdnd.c @@ -268,9 +268,6 @@ gtk_drag_get_data_got_stream (GObject *source, * #GtkWidget::drag-data-received signal * @drop: the #GdkDrop * @target: the target (form of the data) to retrieve - * @time_: a timestamp for retrieving the data. This will - * generally be the time received in a #GtkWidget::drag-motion - * or #GtkWidget::drag-drop signal * * Gets the data associated with a drag. When the data * is received or the retrieval fails, GTK+ will emit a @@ -812,8 +809,7 @@ gtk_drag_content_write_mime_type_async (GdkContentProvider *provider, g_signal_emit_by_name (content->widget, "drag-data-get", content->context, - &sdata, - content->time); + &sdata); if (sdata.length == -1) { @@ -890,9 +886,6 @@ gtk_drag_begin_internal (GtkWidget *widget, GdkDragContext *context; int dx, dy; GtkDragContent *content; - guint32 time; - - time = gtk_get_current_event_time (); if (gdk_device_get_source (device) == GDK_SOURCE_KEYBOARD) device = gdk_device_get_associated_device (device); @@ -910,7 +903,6 @@ gtk_drag_begin_internal (GtkWidget *widget, content = g_object_new (GTK_TYPE_DRAG_CONTENT, NULL); content->widget = g_object_ref (widget); content->formats = gdk_content_formats_ref (target_list); - content->time = time; context = gdk_drag_begin (gtk_widget_get_surface (toplevel), device, GDK_CONTENT_PROVIDER (content), actions, dx, dy); if (context == NULL) |