mirror of https://github.com/kivy/pyjnius.git
Merge branch 'master' of github.com:kivy/pyjnius
This commit is contained in:
commit
f8fc0e714a
|
@ -638,7 +638,7 @@ cdef class JavaMethod(object):
|
||||||
def __get__(self, obj, objtype):
|
def __get__(self, obj, objtype):
|
||||||
if obj is None:
|
if obj is None:
|
||||||
return self
|
return self
|
||||||
# XXX FIXME we MUST not change our own j_self, but return an "bounded"
|
# XXX FIXME we MUST not change our own j_self, but return a "bound"
|
||||||
# method here, as python does!
|
# method here, as python does!
|
||||||
cdef JavaClass jc = obj
|
cdef JavaClass jc = obj
|
||||||
self.j_self = jc.j_self
|
self.j_self = jc.j_self
|
||||||
|
@ -863,7 +863,7 @@ cdef class JavaMethodMultiple(object):
|
||||||
if obj is None:
|
if obj is None:
|
||||||
self.j_self = None
|
self.j_self = None
|
||||||
return self
|
return self
|
||||||
# XXX FIXME we MUST not change our own j_self, but return an "bounded"
|
# XXX FIXME we MUST not change our own j_self, but return a "bound"
|
||||||
# method here, as python does!
|
# method here, as python does!
|
||||||
cdef JavaClass jc = obj
|
cdef JavaClass jc = obj
|
||||||
self.j_self = jc.j_self
|
self.j_self = jc.j_self
|
||||||
|
|
Loading…
Reference in New Issue