actor: Constify event argument in clutter_actor_event()

The Clutter.Actor.event() method is a signal emitter; it does not modify
the event passed to it.
This commit is contained in:
Emmanuele Bassi 2012-06-24 09:57:12 +01:00
parent d685e8a95a
commit 67cbb56ab8
2 changed files with 4 additions and 4 deletions

View File

@ -12516,9 +12516,9 @@ clutter_actor_lower_bottom (ClutterActor *self)
* Since: 0.6
*/
gboolean
clutter_actor_event (ClutterActor *actor,
ClutterEvent *event,
gboolean capture)
clutter_actor_event (ClutterActor *actor,
const ClutterEvent *event,
gboolean capture)
{
gboolean retval = FALSE;
gint signal_num = -1;

View File

@ -533,7 +533,7 @@ gboolean clutter_actor_get_reactive
gboolean clutter_actor_has_key_focus (ClutterActor *self);
void clutter_actor_grab_key_focus (ClutterActor *self);
gboolean clutter_actor_event (ClutterActor *actor,
ClutterEvent *event,
const ClutterEvent *event,
gboolean capture);
gboolean clutter_actor_has_pointer (ClutterActor *self);