Ecore_Evas (wayland): Don't return if we failed to get the frame smart
authorChristopher Michael <cp.michael@samsung.com>
Tue, 16 Oct 2012 11:57:16 +0000 (11:57 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Tue, 16 Oct 2012 11:57:16 +0000 (11:57 +0000)
data. We can still set the shell surface title.

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

legacy/ecore/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))