Skip to content

Commit

Permalink
fix two senders of deprecated #hostWindowTitle:
Browse files Browse the repository at this point in the history
- fix WorldPresenter>>#title:
- remove #updateTitle, as the superclass method does the right thing ("self title: self title").

For Spec2, I did a PR here: pharo-spec/Spec#1224
  • Loading branch information
MarcusDenker committed Jan 12, 2022
1 parent 85b1005 commit 18ba9d7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/Spec-MorphicAdapters/WorldPresenter.class.st
Expand Up @@ -94,14 +94,7 @@ WorldPresenter >> openWithSpecLayout: aSpec [
{ #category : #private }
WorldPresenter >> title: aString [

^ DisplayScreen hostWindowTitle: aString
]

{ #category : #private }
WorldPresenter >> updateTitle [
"Update the window title"

DisplayScreen hostWindowTitle: self title
^ self currentWorld worldState worldRenderer windowTitle: aString
]

{ #category : #api }
Expand Down

0 comments on commit 18ba9d7

Please sign in to comment.