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
This commit is contained in:
Mike Blumenkrantz 2015-03-10 18:28:18 -04:00
parent 3e4d5ddfc3
commit 4c96e40f55
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}