summaryrefslogtreecommitdiff
path: root/gdk/x11
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-06-16 04:34:48 +0200
committerBenjamin Otte <otte@redhat.com>2018-06-18 23:49:53 +0200
commita2839d157fa89eaca287b1aedca7dc72425cf60c (patch)
tree996e3369f8d682dee81e27fb14a617daab43ab0c /gdk/x11
parentb3d424c2d77a257f12657ab6560347d2765b728e (diff)
downloadgtk+-a2839d157fa89eaca287b1aedca7dc72425cf60c.tar.gz
dnd: Remove unused time arguments
Diffstat (limited to 'gdk/x11')
-rw-r--r--gdk/x11/gdkdnd-x11.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c
index 87f8610cde..6b807812f9 100644
--- a/gdk/x11/gdkdnd-x11.c
+++ b/gdk/x11/gdkdnd-x11.c
@@ -2325,8 +2325,7 @@ gdk_dnd_handle_key_event (GdkDragContext *context,
if ((gdk_drag_context_get_selected_action (context) != 0) &&
(x11_context->proxy_xid != None))
{
- g_signal_emit_by_name (context, "drop-performed",
- gdk_event_get_time ((GdkEvent *) event));
+ g_signal_emit_by_name (context, "drop-performed");
}
else
gdk_drag_context_cancel (context, GDK_DRAG_CANCEL_NO_TARGET);
@@ -2415,8 +2414,7 @@ gdk_dnd_handle_button_event (GdkDragContext *context,
if ((gdk_drag_context_get_selected_action (context) != 0) &&
(x11_context->proxy_xid != None))
{
- g_signal_emit_by_name (context, "drop-performed",
- gdk_event_get_time ((GdkEvent *) event));
+ g_signal_emit_by_name (context, "drop-performed");
}
else
gdk_drag_context_cancel (context, GDK_DRAG_CANCEL_NO_TARGET);