x86_64 fix: don't use sys.maxint (which is really maxlong) for int gproperties

This commit is contained in:
Dan Winship 2007-07-26 13:27:26 -04:00
parent ec1af196c6
commit 1e5cc3f347
2 changed files with 2 additions and 2 deletions

View File

@ -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)
}

View File

@ -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)
}