[elm] Fix changed API call for webkit.

SVN revision: 74256
This commit is contained in:
Gustavo Lima Chaves 2012-07-20 14:58:39 +00:00
parent a2f1c95825
commit f1db4efbbe
1 changed files with 6 additions and 1 deletions

View File

@ -1547,9 +1547,14 @@ elm_web_title_get(const Evas_Object *obj)
ELM_WEB_CHECK(obj) NULL;
#ifdef HAVE_ELEMENTARY_WEB
const Ewk_Text_With_Direction *txt;
ELM_WEB_DATA_GET(obj, sd);
return ewk_view_title_get(ELM_WIDGET_DATA(sd)->resize_obj);
txt = ewk_view_title_get(ELM_WIDGET_DATA(sd)->resize_obj);
if (txt) return txt->string;
return NULL;
#else
return NULL;
#endif