elementary: fix compilation
authorBoris Faure <billiob@gmail.com>
Sun, 3 Apr 2011 11:55:56 +0000 (11:55 +0000)
committerBoris Faure <billiob@gmail.com>
Sun, 3 Apr 2011 11:55:56 +0000 (11:55 +0000)
SVN revision: 58298

src/lib/elm_widget.c

index 7c9feff067ee1d4d71a1fa29187bde5dbcb706a5..97d71aa820760f439710cd80258b74f991d60ec0 100644 (file)
@@ -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: