elm_web: Fixed warnings when opened popup for <select>
authorRyuan Choi <ryuan.choi@gmail.com>
Mon, 18 Nov 2013 15:10:58 +0000 (00:10 +0900)
committerRyuan Choi <ryuan.choi@gmail.com>
Mon, 18 Nov 2013 15:19:48 +0000 (00:19 +0900)
elm_notify and elm_list should be made using Eo based class as a parent.

src/lib/elm_web.c

index 1127ec11da88ee5368118cd2ac1001aea837302f..06d3f90dddac6cea91514be1609da65a3830af48 100644 (file)
@@ -985,11 +985,11 @@ _ewk_view_popup_create_cb(void *data,
      (sd->obj, "popup,create", &m2);
    if (m2.handled) return;
 
-   notify = elm_notify_add(obj);
+   notify = elm_notify_add(data);
    elm_notify_allow_events_set(notify, EINA_FALSE);
    elm_notify_align_set(notify, 0.5, 1.0);
 
-   list = elm_list_add(obj);
+   list = elm_list_add(data);
    elm_list_select_mode_set(data, ELM_OBJECT_SELECT_MODE_ALWAYS);
    elm_scroller_bounce_set(list, EINA_FALSE, EINA_FALSE);
    elm_list_mode_set(list, ELM_LIST_EXPAND);