XftFontDescription.st
branchjv
changeset 7772 a59648e60593
parent 7766 ba07a358cb4a
child 7855 46203abe7d57
equal deleted inserted replaced
7771:3e74422a72dd 7772:a59648e60593
   305 !
   305 !
   306 
   306 
   307 xftDrawDestroy: xftDrawId
   307 xftDrawDestroy: xftDrawId
   308 %{
   308 %{
   309 #ifdef XFT
   309 #ifdef XFT
   310     if (__isExternalAddressLike(xftDrawId)) {
   310     XftDraw *xftDraw;
   311         XftDraw *xftDraw = XFT_DRAW(xftDrawId);        
   311     if (__isExternalAddressLike(xftDrawId) && (xftDraw = XFT_DRAW(xftDrawId)) != NULL) {
       
   312         __externalAddressVal(xftDrawId) = NULL;             
   312         XftDrawDestroy(xftDraw);
   313         XftDrawDestroy(xftDraw);
   313     }
   314     }
   314     RETURN (self);
   315     RETURN (self);
   315 #endif
   316 #endif
   316 %}.
   317 %}.