mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
Constify the cursor geometry in ::cursor-event
We don't allow changing the cursor geometry inside the ::cursor-event signal handlers; for starters, it would make binding the signal a huge mess, and it would also potentially break the whole actor.
This commit is contained in:
parent
2d166b250c
commit
2714397fd5
@ -76,10 +76,11 @@ struct _ClutterTextClass
|
|||||||
ClutterActorClass parent_class;
|
ClutterActorClass parent_class;
|
||||||
|
|
||||||
/*< public >*/
|
/*< public >*/
|
||||||
void (* text_changed) (ClutterText *self);
|
/* signals, not vfuncs */
|
||||||
void (* activate) (ClutterText *self);
|
void (* text_changed) (ClutterText *self);
|
||||||
void (* cursor_event) (ClutterText *self,
|
void (* activate) (ClutterText *self);
|
||||||
ClutterGeometry *geometry);
|
void (* cursor_event) (ClutterText *self,
|
||||||
|
const ClutterGeometry *geometry);
|
||||||
|
|
||||||
/*< private >*/
|
/*< private >*/
|
||||||
/* padding for future expansion */
|
/* padding for future expansion */
|
||||||
|
Loading…
Reference in New Issue
Block a user