summaryrefslogtreecommitdiff
path: root/gtk/gtktextview.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/gtktextview.c
parent1e4aeb2efb55feeb2eb2d939869534ccb879ca5a (diff)
downloadgtk+-756b276070679497937e5c62fe586e73d0e2e61e.tar.gz
dnd: Remove button argument from drag_begin()
It was unused.
Diffstat (limited to 'gtk/gtktextview.c')
-rw-r--r--gtk/gtktextview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index bf2480bbcc..371f5f48a4 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -7821,7 +7821,7 @@ gtk_text_view_start_selection_dnd (GtkTextView *text_view,
G_CALLBACK (drag_begin_cb), NULL);
gtk_drag_begin_with_coordinates (GTK_WIDGET (text_view), formats,
GDK_ACTION_COPY | GDK_ACTION_MOVE,
- 1, (GdkEvent*) event, x, y);
+ (GdkEvent*) event, x, y);
}
static void