summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2014-04-03 16:10:15 +0100
committerTom Hacohen <tom@stosb.com>2014-04-10 03:49:49 +0100
commit77abed490c3573c5d1b2814e717f8c13ccf8795d (patch)
treefa4e842ed904e99f2e96b0a693c534bf7f1cd966
parentf83df4115e1cc6da1a175927de946192508527de (diff)
downloadelementary-77abed490c3573c5d1b2814e717f8c13ccf8795d.tar.gz
glview: Adjusted to Eo2.
-rw-r--r--src/lib/elm_glview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_glview.c b/src/lib/elm_glview.c
index 95ac15b47..26d6f8433 100644
--- a/src/lib/elm_glview.c
+++ b/src/lib/elm_glview.c
@@ -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);
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 (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(obj,
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)
{