Ecore_Evas (wayland): Don't return if we failed to get the frame smart data. We can... 23/11223/1
authorChristopher Michael <cp.michael@samsung.com>
Tue, 16 Oct 2012 11:57:16 +0000 (11:57 +0000)
committerJuan Zhao <juan.j.zhao@intel.com>
Wed, 23 Oct 2013 00:59:15 +0000 (08:59 +0800)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 78053

Change-Id: Ibd5663ee30ce05a9046cae9845d7c6fd623e6c69

src/lib/ecore_evas/ecore_evas_wayland_common.c

index 6959655..a417259 100644 (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))