summaryrefslogtreecommitdiff
path: root/gtk/gtkplacessidebar.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2017-12-11 22:26:26 +0100
committerBenjamin Otte <otte@redhat.com>2017-12-12 00:29:51 +0100
commit756b276070679497937e5c62fe586e73d0e2e61e (patch)
tree106e12e24ad6d1f8ca0048f77915efff162c5853 /gtk/gtkplacessidebar.c
parent1e4aeb2efb55feeb2eb2d939869534ccb879ca5a (diff)
downloadgtk+-756b276070679497937e5c62fe586e73d0e2e61e.tar.gz
dnd: Remove button argument from drag_begin()
It was unused.
Diffstat (limited to 'gtk/gtkplacessidebar.c')
-rw-r--r--gtk/gtkplacessidebar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkplacessidebar.c b/gtk/gtkplacessidebar.c
index b15e7bf40b..56c392ac40 100644
--- a/gtk/gtkplacessidebar.c
+++ b/gtk/gtkplacessidebar.c
@@ -1726,7 +1726,7 @@ on_motion_notify_event (GtkWidget *widget,
sidebar->dragging_over = TRUE;
gtk_drag_begin_with_coordinates (widget, sidebar->source_targets, GDK_ACTION_MOVE,
- GDK_BUTTON_PRIMARY, (GdkEvent*)event,
+ (GdkEvent*)event,
-1, -1);
}