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/gtkcalendar.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/gtkcalendar.c')
-rw-r--r-- | gtk/gtkcalendar.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkcalendar.c b/gtk/gtkcalendar.c index 906789c2af..e7546b90f3 100644 --- a/gtk/gtkcalendar.c +++ b/gtk/gtkcalendar.c @@ -2892,6 +2892,8 @@ static void gtk_calendar_grab_notify (GtkWidget *widget, gboolean was_grabbed) { + GTK_WIDGET_CLASS (gtk_calendar_parent_class)->grab_notify (widget, was_grabbed); + if (!was_grabbed) calendar_stop_spinning (GTK_CALENDAR (widget)); } |