From 0ddc33a37b7a6e0db7b09fc9242985a7fe0db2aa Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 7 Jun 2019 15:16:19 +1000 Subject: [PATCH] drawing: fix deprecation warning tuhi/drawing.py:46: PyGIDeprecationWarning: GObject.property is deprecated; use GObject.Property instead @GObject.property Signed-off-by: Peter Hutterer --- tuhi/drawing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuhi/drawing.py b/tuhi/drawing.py index 01ad32a..04adb49 100644 --- a/tuhi/drawing.py +++ b/tuhi/drawing.py @@ -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