mirror of https://github.com/kivy/kivy.git
core-providers (audio): removes deprecated `filename` property (#8299)
This commit is contained in:
parent
ee040926ed
commit
5ea06fd0ed
|
@ -157,15 +157,6 @@ class Sound(EventDispatcher):
|
|||
Use :attr:`state` instead.
|
||||
'''
|
||||
|
||||
def _get_filename(self):
|
||||
return self.source
|
||||
filename = AliasProperty(
|
||||
_get_filename, None, bind=('source', ), deprecated=True)
|
||||
'''
|
||||
.. deprecated:: 1.3.0
|
||||
Use :attr:`source` instead.
|
||||
'''
|
||||
|
||||
__events__ = ('on_play', 'on_stop')
|
||||
|
||||
def on_source(self, instance, filename):
|
||||
|
|
Loading…
Reference in New Issue