Do not use contractions when not needed

I understand we are not Pascal developers, and we don't have to
use cute and cuddly names like "i_am_an_integer_counter", but
a ClutterButtonEvent should be stored inside an "event" variable.
Using "bev" instead? Mmmh, not so much.
This commit is contained in:
Emmanuele Bassi 2008-12-11 12:21:57 +00:00
parent 2ca7cb46f9
commit 77b3b9d5f4

View File

@ -821,15 +821,15 @@ cursor_paint (ClutterText *self)
static gboolean static gboolean
clutter_text_button_press (ClutterActor *actor, clutter_text_button_press (ClutterActor *actor,
ClutterButtonEvent *bev) ClutterButtonEvent *event)
{ {
ClutterText *self = CLUTTER_TEXT (actor); ClutterText *self = CLUTTER_TEXT (actor);
ClutterTextPrivate *priv = self->priv; ClutterTextPrivate *priv = self->priv;
ClutterUnit x, y; ClutterUnit x, y;
gint index_; gint index_;
x = CLUTTER_UNITS_FROM_INT (bev->x); x = CLUTTER_UNITS_FROM_INT (event->x);
y = CLUTTER_UNITS_FROM_INT (bev->y); y = CLUTTER_UNITS_FROM_INT (event->y);
clutter_actor_transform_stage_point (actor, x, y, &x, &y); clutter_actor_transform_stage_point (actor, x, y, &x, &y);