diff options
author | Timm Bäder <mail@baedert.org> | 2018-05-14 18:19:44 +0200 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2018-05-19 10:18:50 +0200 |
commit | 5ff4ef14e63aa1ced7321a47021d902896fde595 (patch) | |
tree | be9bdd8e55cb906271c6e8cc1cf327e9e1bcdea0 /gtk/gtknotebook.c | |
parent | f13cccd04280954c45f6c51a1fc3c5d4f844d76b (diff) | |
download | gtk+-5ff4ef14e63aa1ced7321a47021d902896fde595.tar.gz |
widget: Directly notify gestures of grab
Since each widget has a list of event controllers now, we don't need to
connect to ::grab-notify of the widget for every controller.
Diffstat (limited to 'gtk/gtknotebook.c')
-rw-r--r-- | gtk/gtknotebook.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index a3a7f01c04..6b7230f9a7 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -2760,6 +2760,8 @@ gtk_notebook_grab_notify (GtkWidget *widget, { GtkNotebook *notebook = GTK_NOTEBOOK (widget); + GTK_WIDGET_CLASS (gtk_notebook_parent_class)->grab_notify (widget, was_grabbed); + if (!was_grabbed) { gtk_notebook_stop_reorder (notebook); |