Matthias Clasen
3bb404f40c
Don't assert in gtk_event_controller_constructed
...
This prevents some of our generic object implementation tests
from working with gesture objects. Instead, add g_return_if_fail
checks in all the gesture constructors.
2014-05-27 14:33:32 -04:00
Matthias Clasen
4ce2f3e769
Silence gtk-doc warnings
2014-05-27 13:17:34 -04:00
Carlos Garnacho
9f8bd7a2bc
gesturezoom: Just return a double in get_scale_delta()
...
Checking whether the gesture is active is a responsibility of the caller.
2014-05-27 17:47:12 +02:00
Matthias Clasen
0442431943
Docs: Cosmetic fixes
2014-05-23 19:54:33 +02:00
Matthias Clasen
42df9eda2d
Prevent subclassing of gestures
...
For now, at least. We do this by hiding the instance and
class structures in private headers.
2014-05-23 19:54:28 +02:00
Carlos Garnacho
556eb398e5
zoom: doc fixes
2014-05-23 19:54:28 +02:00
Carlos Garnacho
c10998edb5
zoom: Add missing documentation
2014-05-23 19:54:27 +02:00
Carlos Garnacho
9db3c2d893
Add GtkGestureZoom
...
This gesture interprets and reports relative scale differences when fed
with events from two different GdkEventSequences.
2014-05-23 19:54:21 +02:00