CRI on attempting to change a pixmap's client when pixmap already has client
authorMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 10 Mar 2015 22:28:18 +0000 (18:28 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 10 Mar 2015 22:28:18 +0000 (18:28 -0400)
this should never occur, so do something if it does since it means there's a big problem

src/bin/e_pixmap.c

index dbefc99..cfff95d 100644 (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;
 }