glview: Adjusted to Eo2.

This commit is contained in:
Tom Hacohen 2014-04-03 16:10:15 +01:00
parent e15f80074e
commit e411454696
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ _elm_glview_elm_widget_on_focus(Eo *obj, Elm_Glview_Data *_pd EINA_UNUSED)
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE); ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, EINA_FALSE);
Eina_Bool int_ret = EINA_FALSE; Eina_Bool int_ret = EINA_FALSE;
eo_do_super(obj, MY_CLASS, elm_obj_widget_on_focus(&int_ret)); eo_do_super(obj, MY_CLASS, int_ret = elm_obj_widget_on_focus());
if (!int_ret) return EINA_FALSE; if (!int_ret) return EINA_FALSE;
if (elm_widget_focus_get(obj)) if (elm_widget_focus_get(obj))
@ -269,7 +269,7 @@ _elm_glview_eo_base_constructor(Eo *obj, Elm_Glview_Data *sd)
eo_do_super(obj, MY_CLASS, eo_constructor()); eo_do_super(obj, MY_CLASS, eo_constructor());
eo_do(obj, eo_do(obj,
evas_obj_type_set(MY_CLASS_NAME_LEGACY), evas_obj_type_set(MY_CLASS_NAME_LEGACY),
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks, NULL)); evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
if (!sd->evasgl) if (!sd->evasgl)
{ {