Ray Strode
08b17ab344
drag: add missing introspection annotations
...
gtk_gesture_drag_get_start_point and gtk_gesture_drag_get_offset
have out args that need to be annotated.
This commit adds the (out) and (nullable) annotations as appropriate.
https://bugzilla.gnome.org/show_bug.cgi?id=734292
2014-08-06 10:14:47 -04:00
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
0442431943
Docs: Cosmetic fixes
2014-05-23 19:54:33 +02:00
Carlos Garnacho
e638ff7974
drag: Allow gtk_gesture_get_start_point/offset() to be called on ::drag-end
2014-05-23 19:54:30 +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
3cbd2b97b8
drag: doc fixes
2014-05-23 19:54:27 +02:00
Carlos Garnacho
28237f80f5
drag: Add missing documentation
2014-05-23 19:54:27 +02:00
Carlos Garnacho
c4a39f5abf
drag: remove unused #define
2014-05-23 19:54:25 +02:00
Carlos Garnacho
55683c075c
drag: Make API offsets based
...
It is generally more useful to get offsets right away,
than having to calculate those from the start point.
2014-05-23 19:54:24 +02:00
Carlos Garnacho
315aedf5c8
drag: Make a subclass of GtkGestureSingle
2014-05-23 19:54:23 +02:00
Carlos Garnacho
8026bc3651
Add GtkGestureDrag
...
This gesture interprets and reports drags as an offset to the drag
start point.
2014-05-23 19:54:21 +02:00