drawing: fix deprecation warning
tuhi/drawing.py:46: PyGIDeprecationWarning: GObject.property is deprecated; use GObject.Property instead @GObject.property Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
b52891f8fd
commit
0ddc33a37b
|
@ -43,7 +43,7 @@ class Stroke(GObject.Object):
|
|||
self._pressure = 0
|
||||
self._is_sealed = False
|
||||
|
||||
@GObject.property
|
||||
@GObject.Property
|
||||
def sealed(self):
|
||||
return self._is_sealed
|
||||
|
||||
|
|
Loading…
Reference in New Issue