tiny polish
This commit is contained in:
parent
b803b8f304
commit
c95088c68e
@ -17,5 +17,5 @@ pygobject area, for example:
|
|||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
sudo cp Vips.py /usr/lib/python3.4/dist-packages/gi/overrides
|
sudo cp Vips.py /usr/lib/python3/dist-packages/gi/overrides
|
||||||
|
|
||||||
|
@ -59,6 +59,7 @@ Vips = modules['Vips']._introspection_module
|
|||||||
__all__ = []
|
__all__ = []
|
||||||
|
|
||||||
# start up vips!
|
# start up vips!
|
||||||
|
# passing argv[0] helps vips find it's data files on some platforms
|
||||||
Vips.init(sys.argv[0])
|
Vips.init(sys.argv[0])
|
||||||
|
|
||||||
# need the gtypes for various vips types
|
# need the gtypes for various vips types
|
||||||
@ -199,9 +200,6 @@ Vips.Argument = Argument
|
|||||||
|
|
||||||
class Operation(Vips.Operation):
|
class Operation(Vips.Operation):
|
||||||
|
|
||||||
def __init__(self):
|
|
||||||
Vips.Operation.__init__(self)
|
|
||||||
|
|
||||||
# find all the args for this op, sort into priority order
|
# find all the args for this op, sort into priority order
|
||||||
# remember to ignore deprecated ones
|
# remember to ignore deprecated ones
|
||||||
def get_args(self):
|
def get_args(self):
|
||||||
@ -535,10 +533,7 @@ def add_doc(value):
|
|||||||
return _doc
|
return _doc
|
||||||
|
|
||||||
class Image(Vips.Image):
|
class Image(Vips.Image):
|
||||||
# constructors, see class methods above
|
# for constructors, see class methods above
|
||||||
|
|
||||||
def __init__(self):
|
|
||||||
Vips.Image.__init__(self)
|
|
||||||
|
|
||||||
# output
|
# output
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user