summaryrefslogtreecommitdiff
path: root/gi/_gobject/propertyhelper.py
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2017-07-12 08:38:18 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2017-07-12 08:38:20 +0900
commitd54598b29c5a784bd64ae3fc9b96c97e5e150d5e (patch)
treef7a0df76ccfdbfcf4750e14c30c6aaeff49861cf /gi/_gobject/propertyhelper.py
parent48535025dbdc1c157d8c4bdeae7bb277836dc60a (diff)
downloadpygobject2-d54598b29c5a784bd64ae3fc9b96c97e5e150d5e.tar.gz
pygobject2-d54598b29c5a784bd64ae3fc9b96c97e5e150d5e.tar.bz2
pygobject2-d54598b29c5a784bd64ae3fc9b96c97e5e150d5e.zip
Imported Upstream version 3.0.4
Change-Id: I33eb008a3ad56b5ea3771f29f1b2f322923ff60d Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'gi/_gobject/propertyhelper.py')
-rw-r--r--gi/_gobject/propertyhelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gi/_gobject/propertyhelper.py b/gi/_gobject/propertyhelper.py
index 4635350..9208a0b 100644
--- a/gi/_gobject/propertyhelper.py
+++ b/gi/_gobject/propertyhelper.py
@@ -298,7 +298,7 @@ class property(object):
ptype = self.type
if ptype in [TYPE_INT, TYPE_UINT, TYPE_LONG, TYPE_ULONG,
TYPE_INT64, TYPE_UINT64, TYPE_FLOAT, TYPE_DOUBLE]:
- args = self._get_minimum(), self._get_maximum(), self.default
+ args = self.minimum, self.maximum, self.default
elif (ptype == TYPE_STRING or ptype == TYPE_BOOLEAN or
ptype.is_a(TYPE_ENUM)):
args = (self.default,)