From ddb41335a674d77b6fc4077dbf79fe8b6f2bc02d Mon Sep 17 00:00:00 2001 From: billiob Date: Sun, 3 Apr 2011 11:55:56 +0000 Subject: [PATCH] elementary: fix compilation git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@58298 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_widget.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c index 7c9feff..97d71aa 100644 --- a/src/lib/elm_widget.c +++ b/src/lib/elm_widget.c @@ -281,18 +281,24 @@ _propagate_event(void *data, switch (type) { case EVAS_CALLBACK_KEY_DOWN: - Evas_Event_Key_Down *ev = event_info; - event_flags = &(ev->event_flags); + { + Evas_Event_Key_Down *ev = event_info; + event_flags = &(ev->event_flags); + } break; case EVAS_CALLBACK_KEY_UP: - Evas_Event_Key_Up *ev = event_info; - event_flags = &(ev->event_flags); + { + Evas_Event_Key_Up *ev = event_info; + event_flags = &(ev->event_flags); + } break; case EVAS_CALLBACK_MOUSE_WHEEL: - Evas_Event_Mouse_Wheel *ev = event_info; - event_flags = &(ev->event_flags); + { + Evas_Event_Mouse_Wheel *ev = event_info; + event_flags = &(ev->event_flags); + } break; default: -- 2.7.4