GDesktopAppInfo: fix default app logic
[platform/upstream/glib.git] / gobject / gobject.py
index 32c0106..2311d6c 100644 (file)
@@ -238,7 +238,7 @@ class GFrameDecorator:
                 return i
         return -1
 
-    def __next__ (self):
+    def next (self):
         # Ensure we have enough frames for a full signal emission
         self.fill()
 
@@ -274,6 +274,9 @@ class GFrameDecorator:
 
         return self.queue.pop(0)
 
+    def __next__ (self):
+        return self.next()
+
 class GFrameFilter(object):
     name = 'glib'
     enabled = True