x86_64 fix: don't use sys.maxint (which is really maxlong) for int gproperties
This commit is contained in:
parent
ec1af196c6
commit
1e5cc3f347
@ -37,7 +37,7 @@ class AccessPointModel(gobject.GObject):
|
||||
gobject.PARAM_READABLE),
|
||||
'state' : (int, None, None, STATE_CONNECTING,
|
||||
STATE_NOTCONNECTED, 0, gobject.PARAM_READABLE),
|
||||
'capabilities' : (int, None, None, 0, sys.maxint, 0,
|
||||
'capabilities' : (int, None, None, 0, 0x7FFFFFFF, 0,
|
||||
gobject.PARAM_READABLE),
|
||||
'mode' : (int, None, None, 0, 6, 0, gobject.PARAM_READABLE)
|
||||
}
|
||||
|
@ -36,7 +36,7 @@ class IconButton(CanvasIcon, hippo.CanvasItem):
|
||||
|
||||
__gproperties__ = {
|
||||
'size' : (int, None, None,
|
||||
0, sys.maxint, STANDARD_SIZE,
|
||||
0, 32767, STANDARD_SIZE,
|
||||
gobject.PARAM_READWRITE)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user