From 77b3b9d5f494bb193611004456dd8f025e379c18 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 11 Dec 2008 12:21:57 +0000 Subject: [PATCH] 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. --- clutter/clutter-text.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clutter/clutter-text.c b/clutter/clutter-text.c index 8027dfecc..4a40a8bf0 100644 --- a/clutter/clutter-text.c +++ b/clutter/clutter-text.c @@ -821,15 +821,15 @@ cursor_paint (ClutterText *self) static gboolean clutter_text_button_press (ClutterActor *actor, - ClutterButtonEvent *bev) + ClutterButtonEvent *event) { ClutterText *self = CLUTTER_TEXT (actor); ClutterTextPrivate *priv = self->priv; ClutterUnit x, y; gint index_; - x = CLUTTER_UNITS_FROM_INT (bev->x); - y = CLUTTER_UNITS_FROM_INT (bev->y); + x = CLUTTER_UNITS_FROM_INT (event->x); + y = CLUTTER_UNITS_FROM_INT (event->y); clutter_actor_transform_stage_point (actor, x, y, &x, &y);