Ecore_Evas (wayland): Don't return if we failed to get the frame smart

data. We can still set the shell surface title.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 78053
This commit is contained in:
Christopher Michael 2012-10-16 11:57:16 +00:00 committed by Christopher Michael
parent ac7e3bfe64
commit 426b5518b6
1 changed files with 2 additions and 2 deletions

View File

@ -451,8 +451,8 @@ _ecore_evas_wl_common_title_set(Ecore_Evas *ee, const char *title)
{
EE_Wl_Smart_Data *sd;
if (!(sd = evas_object_smart_data_get(ee->engine.wl.frame))) return;
evas_object_text_text_set(sd->text, ee->prop.title);
if ((sd = evas_object_smart_data_get(ee->engine.wl.frame)))
evas_object_text_text_set(sd->text, ee->prop.title);
}
if ((ee->prop.title) && (ee->engine.wl.win->shell_surface))