#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Fri, 29 Jul 2016 16:51:46 +0200
changeset 7486 c3a1433996ec
parent 7485 24a3795170f1
child 7487 39fb74b4ade1
#REFACTORING by stefan class: XWorkstation changed: #newGraphicsContextFor:
XWorkstation.st
--- a/XWorkstation.st	Fri Jul 29 16:51:10 2016 +0200
+++ b/XWorkstation.st	Fri Jul 29 16:51:46 2016 +0200
@@ -12574,11 +12574,7 @@
 newGraphicsContextFor:aGraphicsMedium
     "Redefined to use my own device specific graphics context"
 
-    |gc|
-
-    gc := X11GraphicsContext onDevice:self.
-    gc font:aGraphicsMedium class defaultFont.
-    ^ gc.
+    ^ X11GraphicsContext onDevice:self.
 !
 
 parentWindowIdOf:aWindowId