From c97edd8890fb65726d01cc12d7da301c286d0efd Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Tue, 16 Oct 2012 11:57:16 +0000 Subject: [PATCH] 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 SVN revision: 78053 Change-Id: Ibd5663ee30ce05a9046cae9845d7c6fd623e6c69 --- src/lib/ecore_evas/ecore_evas_wayland_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore_evas/ecore_evas_wayland_common.c b/src/lib/ecore_evas/ecore_evas_wayland_common.c index 6959655..a417259 100644 --- a/src/lib/ecore_evas/ecore_evas_wayland_common.c +++ b/src/lib/ecore_evas/ecore_evas_wayland_common.c @@ -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)) -- 2.7.4