XGraphicsContext.st
branchjv
changeset 7772 a59648e60593
parent 7718 6e51fc8b207f
equal deleted inserted replaced
7771:3e74422a72dd 7772:a59648e60593
    28 
    28 
    29 !XGraphicsContext methodsFor:'initialization & release'!
    29 !XGraphicsContext methodsFor:'initialization & release'!
    30 
    30 
    31 destroy
    31 destroy
    32     xftDrawId notNil ifTrue:[ 
    32     xftDrawId notNil ifTrue:[ 
    33         XftFontDescription xftDrawDestroy: xftDrawId  
    33         | id |
       
    34 
       
    35 	id := xftDrawId.
       
    36         xftDrawId := nil.
       
    37         XftFontDescription xftDrawDestroy: id.  
    34     ].
    38     ].
    35     super destroy.
    39     super destroy.
    36 
    40 
    37     "Created: / 25-11-2016 / 00:10:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    41     "Created: / 25-11-2016 / 00:10:58 / Jan Vrany <jan.vrany@fit.cvut.cz>"
    38 !
    42 !