From: Mike Blumenkrantz Date: Tue, 10 Mar 2015 22:28:18 +0000 (-0400) Subject: CRI on attempting to change a pixmap's client when pixmap already has client X-Git-Tag: upstream/0.20.0~1176 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c96e40f55015d1556e2c7badeffc62934fc577f;p=platform%2Fupstream%2Fenlightenment.git CRI on attempting to change a pixmap's client when pixmap already has client this should never occur, so do something if it does since it means there's a big problem --- diff --git a/src/bin/e_pixmap.c b/src/bin/e_pixmap.c index dbefc99..cfff95d 100644 --- a/src/bin/e_pixmap.c +++ b/src/bin/e_pixmap.c @@ -438,6 +438,7 @@ EAPI void e_pixmap_client_set(E_Pixmap *cp, E_Client *ec) { EINA_SAFETY_ON_NULL_RETURN(cp); + if (cp->client && ec) CRI("ACK!"); cp->client = ec; }