mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-23 12:41:50 +01:00
Try to make gobject.py work with both pythons
This change was suggested on the fedora test list, and has been reported to work.
This commit is contained in:
parent
9f69534030
commit
7991178a75
@ -238,7 +238,7 @@ class GFrameDecorator:
|
|||||||
return i
|
return i
|
||||||
return -1
|
return -1
|
||||||
|
|
||||||
def __next__ (self):
|
def next (self):
|
||||||
# Ensure we have enough frames for a full signal emission
|
# Ensure we have enough frames for a full signal emission
|
||||||
self.fill()
|
self.fill()
|
||||||
|
|
||||||
@ -274,6 +274,9 @@ class GFrameDecorator:
|
|||||||
|
|
||||||
return self.queue.pop(0)
|
return self.queue.pop(0)
|
||||||
|
|
||||||
|
def __next__ (self):
|
||||||
|
return self.next()
|
||||||
|
|
||||||
class GFrameFilter(object):
|
class GFrameFilter(object):
|
||||||
name = 'glib'
|
name = 'glib'
|
||||||
enabled = True
|
enabled = True
|
||||||
|
Loading…
Reference in New Issue
Block a user