class: XftFontDescription
authorStefan Vogel <sv@exept.de>
Wed, 19 Mar 2014 22:53:55 +0100
changeset 6344 ef33c29cbb0c
parent 6343 5747b4dbc94b
child 6345 65abd4e498c5
class: XftFontDescription added: #releaseFromDevice
XftFontDescription.st
--- a/XftFontDescription.st	Wed Mar 19 22:26:18 2014 +0100
+++ b/XftFontDescription.st	Wed Mar 19 22:53:55 2014 +0100
@@ -1571,6 +1571,15 @@
 
     "Created: / 12-01-2014 / 19:48:51 / Jan Vrany <jan.vrany@fit.cvut.cz>"
     "Modified: / 12-01-2014 / 22:09:27 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
+releaseFromDevice
+    "I am no longer available on the device"
+
+    device := nil.
+    fontId := nil.
+    drawId := nil.
+    closestFont := nil
 ! !
 
 !XftFontDescription methodsFor:'testing'!
@@ -1898,11 +1907,11 @@
 !XftFontDescription class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/XftFontDescription.st,v 1.40 2014-03-18 19:01:01 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/XftFontDescription.st,v 1.41 2014-03-19 21:53:55 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview/XftFontDescription.st,v 1.40 2014-03-18 19:01:01 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/XftFontDescription.st,v 1.41 2014-03-19 21:53:55 stefan Exp $'
 ! !