Skip to content

Commit 329ccff

Browse files
committed
typing: GdkPixbuf: Update (changes)
1 parent 5b5aaf6 commit 329ccff

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/gi-stubs/repository/GdkPixbuf.pyi

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ from gi.repository import Gio
44
from gi.repository import GLib
55
from gi.repository import GModule
66
from gi.repository import GObject
7+
from typing_extensions import Self
78

89
T = typing.TypeVar("T")
910

1011
PIXBUF_MAJOR: int = 2
1112
PIXBUF_MICRO: int = 12
1213
PIXBUF_MINOR: int = 42
1314
PIXBUF_VERSION: str = "2.42.12"
14-
_introspection_module = ... # FIXME Constant
1515
_lock = ... # FIXME Constant
1616
_namespace: str = "GdkPixbuf"
1717
_overrides_module = ... # FIXME Constant
@@ -65,8 +65,7 @@ class Pixbuf(GObject.Object, Gio.Icon, Gio.LoadableIcon):
6565
Signals from GObject:
6666
notify (GParam)
6767
"""
68-
69-
class Props:
68+
class Props(GObject.Object.Props):
7069
bits_per_sample: int
7170
colorspace: Colorspace
7271
has_alpha: bool
@@ -617,7 +616,6 @@ class PixbufNonAnim(PixbufAnimation):
617616
Signals from GObject:
618617
notify (GParam)
619618
"""
620-
621619
@classmethod
622620
def new(cls, pixbuf: Pixbuf) -> PixbufNonAnim: ...
623621

@@ -639,8 +637,7 @@ class PixbufSimpleAnim(PixbufAnimation):
639637
Signals from GObject:
640638
notify (GParam)
641639
"""
642-
643-
class Props:
640+
class Props(PixbufAnimation.Props):
644641
loop: bool
645642

646643
props: Props = ...

0 commit comments

Comments
 (0)