After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 774760 - inspector: ensure controller is a GtkGesture
inspector: ensure controller is a GtkGesture
Product: gtk+
Classification: Platform
Component: .General
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
Depends on:
Reported: 2016-11-20 23:40 UTC by Christian Hergert
Modified: 2016-11-23 22:03 UTC
See Also:
GNOME target: ---
GNOME version: ---

inspector: ensure controller is a GtkGesture (1.19 KB, patch)
2016-11-20 23:41 UTC, Christian Hergert
committed Details | Review

Description Christian Hergert 2016-11-20 23:40:52 UTC
Quick patch to ensure that a GtkEventController is a GtkGesture
Comment 1 Christian Hergert 2016-11-20 23:41:04 UTC
Created attachment 340380 [details] [review]
inspector: ensure controller is a GtkGesture

While GtkEventController implementations today are all GtkGesture, it is
possible to create a GtkEventController manually. This is an extrac check
to ensure we only add gestures to the list.
Comment 2 Matthias Clasen 2016-11-23 19:02:37 UTC
Review of attachment 340380 [details] [review]:

sure, makes sense