From 573c1c86cc1291db983712494323a9eccb1be0e0 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 15 Mar 2014 10:36:36 -0400 Subject: [PATCH] focus-manager: Make C ANSI-compliant --- src/st/st-focus-manager.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/st/st-focus-manager.c b/src/st/st-focus-manager.c index e7166dd26..2fe431b75 100644 --- a/src/st/st-focus-manager.c +++ b/src/st/st-focus-manager.c @@ -250,9 +250,11 @@ gboolean st_focus_manager_navigate_from_event (StFocusManager *manager, ClutterEvent *event) { + ClutterActor *stage; + if (event->type != CLUTTER_KEY_PRESS) return FALSE; - ClutterActor *stage = CLUTTER_ACTOR (event->key.stage); + stage = CLUTTER_ACTOR (event->key.stage); return st_focus_manager_stage_event (stage, event, manager); }