discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=b85005f6726bb4f04d8e38c9dfba40f693dc452e

commit b85005f6726bb4f04d8e38c9dfba40f693dc452e
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Thu Aug 20 15:56:02 2015 -0400

    return false when failing to create a mirror during deskmirror obj check
---
 src/bin/e_deskmirror.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/e_deskmirror.c b/src/bin/e_deskmirror.c
index 2b74438..d3d244e 100644
--- a/src/bin/e_deskmirror.c
+++ b/src/bin/e_deskmirror.c
@@ -520,6 +520,7 @@ _comp_object_check(Mirror *m)
    evas_object_geometry_get(m->comp_object, NULL, NULL, &w, &h);
    if ((w < 2) || (h < 2)) return EINA_FALSE;
    m->mirror = e_comp_object_util_mirror_add(m->comp_object);
+   if (!m->mirror) return EINA_FALSE;
    evas_object_name_set(m->mirror, "m->mirror");
    _e_deskmirror_mirror_setup(m);
    return EINA_TRUE;

-- 


Reply via email to