From 4d0413f569caac8aeb8f4899c6d81c940e4a99fe Mon Sep 17 00:00:00 2001 From: Gustavo Lima Chaves Date: Fri, 20 Jul 2012 14:58:33 +0000 Subject: [PATCH] [elm] Fix on focus handle on photocam. SVN revision: 74255 --- src/lib/elm_photocam.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/lib/elm_photocam.c b/src/lib/elm_photocam.c index 0fefed5..acc0289 100644 --- a/src/lib/elm_photocam.c +++ b/src/lib/elm_photocam.c @@ -86,7 +86,6 @@ struct _Elm_Photocam_Smart_Data const Elm_Scrollable_Smart_Interface *s_iface; - /* Elm_Photocam_Pan_Smart_Data *pan; */ Evas_Object *pan_obj; Evas_Coord pan_x, pan_y, minw, minh; @@ -991,13 +990,13 @@ _elm_photocam_smart_on_focus(Evas_Object *obj) { edje_object_signal_emit (ELM_WIDGET_DATA(sd)->resize_obj, "elm,action,focus", "elm"); - evas_object_focus_set(ELM_WIDGET_DATA(sd)->obj, EINA_TRUE); + evas_object_focus_set(ELM_WIDGET_DATA(sd)->resize_obj, EINA_TRUE); } else { edje_object_signal_emit (ELM_WIDGET_DATA(sd)->resize_obj, "elm,action,unfocus", "elm"); - evas_object_focus_set(ELM_WIDGET_DATA(sd)->obj, EINA_FALSE); + evas_object_focus_set(ELM_WIDGET_DATA(sd)->resize_obj, EINA_FALSE); } return EINA_TRUE; -- 2.7.4