Skip to content

Commit

Permalink
Fix more deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
jecisc committed May 17, 2024
1 parent 866edc6 commit 6fd8221
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions src/Spec2-CommonWidgets/SpChooserPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,8 @@ SpChooserPresenter class >> exampleClasses [
{ #category : 'examples' }
SpChooserPresenter class >> examplePackages [

^ (self
sourceItems: RPackageOrganizer default packages
chosenItems:
{ (RPackageOrganizer default packageNamed: 'Spec2-CommonWidgets') }
displayBlock: #packageName) open
^ (self sourceItems: self packageOrganizer packages chosenItems: { (self packageOrganizer packageNamed: 'Spec2-CommonWidgets') } displayBlock: #packageName)
open
]

{ #category : 'instance creation' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ SpTransmissionComponentListExample >> initializePresenters [
display: [ :package | package name ];
displayIcon: [ self iconNamed: #package ];
sortingBlock: [ :a :b | a name < b name ];
items: RPackageOrganizer default packages.
items: self class packageOrganizer packages.

classesPresenter := self newComponentList.
classesPresenter := self newComponentList
]

{ #category : 'initialization' }
Expand Down

0 comments on commit 6fd8221

Please sign in to comment.