XftFontDescription.st
branchdelegated_gc_jv
changeset 6725 306fd90ac185
parent 6636 2603da69ccf0
child 6726 9f16fe1701f5
--- a/XftFontDescription.st	Fri Dec 26 22:31:20 2014 +0100
+++ b/XftFontDescription.st	Fri Dec 26 22:39:28 2014 +0100
@@ -624,7 +624,7 @@
     screen := device screen.
     drawableId := aGC drawableId.
 
-    aGC class == XWorkstation::X11GraphicsContext ifTrue:[
+    aGC class == XWorkstation::XGraphicsContext ifTrue:[
         "/ TODO: Following should be done atomically together with drawing...    
         drawId := aGC xftDrawId.
         drawIdIsShared := false. 
@@ -638,7 +638,7 @@
             aGC xftDrawId: drawId.
         ].
     ] ifFalse:[ 
-        Logger log: 'GC passed to XftGraphicsContext is not an X11GraphicsContext!!' severity: #error.
+        Logger log: 'GC passed to XftGraphicsContext is not an XGraphicsContext!!' severity: #error.
         drawId := sharedDrawId.
         drawIdIsShared := true. 
     ].