diff --git a/icon.go b/icon.go index 5a5d025..277d44f 100644 --- a/icon.go +++ b/icon.go @@ -31,16 +31,6 @@ func NewMimeIcon (mime data.Mime, size theme.IconSize) *Icon { return this } -// NewApplicationIcon creates a new icon from an application description. -func NewApplicationIcon (id theme.ApplicationIcon, size theme.IconSize) *Icon { - this := &Icon { - Box: tomo.NewBox(), - } - theme.Apply(this, theme.R("objects", "Icon", size.String())) - this.SetTexture(id.Texture(size)) - return this -} - func (this *Icon) SetTexture (texture canvas.Texture) { this.Box.SetTexture(texture) if texture == nil {