CObject subclasses fileouts include shape

Project:GNU Smalltalk
Component:VisualGST
Category:bug
Priority:normal
Assigned:MrGwen
Status:fixed
Description

In VisualGST, CObject subclasses include a shape pragma. The NewSyntaxExporter class was taught not to include this pragma with commit e379820, but VisualGST does not use it.

At the same time this is fixed, GtkTextWidget and GtkWebView should be re-exported so that the shape pragma in their source code is removed (this currently causes a harmless but annoying warning when loading VisualGST into a 32-bit image).

Updates

#1 submitted by Gwenael Casaccio on Tue, 09/08/2009 - 07:49
Assigned to:Unassigned» MrGwen
Status:active» committed

Fixed in the VisualGST svn.

#2 submitted by Paolo Bonzini on Tue, 09/08/2009 - 08:20

The correct condition would be

            printClass shape =
                (printClass inheritShape
                    ifTrue: [ printClass superclass shape ]
                    ifFalse: [ nil ])

#3 submitted by Paolo Bonzini on Wed, 09/09/2009 - 07:59
Status:committed» fixed

fixed

User login