focus-manager: Make C ANSI-compliant

This commit is contained in:
Jasper St. Pierre 2014-03-15 10:36:36 -04:00
parent 374c5967ba
commit 573c1c86cc

View File

@ -250,9 +250,11 @@ gboolean
st_focus_manager_navigate_from_event (StFocusManager *manager, st_focus_manager_navigate_from_event (StFocusManager *manager,
ClutterEvent *event) ClutterEvent *event)
{ {
ClutterActor *stage;
if (event->type != CLUTTER_KEY_PRESS) if (event->type != CLUTTER_KEY_PRESS)
return FALSE; return FALSE;
ClutterActor *stage = CLUTTER_ACTOR (event->key.stage); stage = CLUTTER_ACTOR (event->key.stage);
return st_focus_manager_stage_event (stage, event, manager); return st_focus_manager_stage_event (stage, event, manager);
} }