From: MinJeong Kim Date: Wed, 31 Aug 2016 12:42:01 +0000 (+0900) Subject: Check content type instead of pixmap type X-Git-Tag: submit/tizen/20160905.105032~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ff04473182d8f7f68da0d85ae900163f2576f9e7;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-effect.git Check content type instead of pixmap type Change-Id: I8a1e6251cfe35cc374aa1ebfd1cdad0de0d67af1 --- diff --git a/src/e_mod_effect.c b/src/e_mod_effect.c index 6e062fb..53ae5b6 100644 --- a/src/e_mod_effect.c +++ b/src/e_mod_effect.c @@ -151,7 +151,7 @@ _e_mod_effect_ref(E_Client *ec) if (!efc) return EINA_FALSE; if (!ec->pixmap) return EINA_FALSE; - if ((e_pixmap_type_get(ec->pixmap) != E_PIXMAP_TYPE_EXT_OBJECT) && + if ((e_comp_object_content_type_get(ec->frame) == E_COMP_OBJECT_CONTENT_TYPE_INT_IMAGE) && (!e_pixmap_usable_get(ec->pixmap))) return EINA_FALSE;