summaryrefslogtreecommitdiff
path: root/gtk/gtknotebook.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/gtknotebook.c
parent1e4aeb2efb55feeb2eb2d939869534ccb879ca5a (diff)
downloadgtk+-756b276070679497937e5c62fe586e73d0e2e61e.tar.gz
dnd: Remove button argument from drag_begin()
It was unused.
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r--gtk/gtknotebook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 494d20f9c9..f9a1bfdcea 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -2713,7 +2713,7 @@ gtk_notebook_motion_notify (GtkWidget *widget,
priv->detached_tab = priv->cur_page;
gtk_drag_begin_with_coordinates (widget, priv->source_targets, GDK_ACTION_MOVE,
- priv->pressed_button, (GdkEvent*) event,
+ (GdkEvent*) event,
priv->drag_begin_x, priv->drag_begin_y);
return TRUE;
}