Skip to content

Commit 55d24a0

Browse files
jamiethecatlovetox
authored andcommitted
typing: GObject: Fix GInterface
1 parent 434b032 commit 55d24a0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/gi-stubs/repository/GObject.pyi

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1397,7 +1397,6 @@ class GInterface(typing.Protocol):
13971397
def get_qdata(self, *args, **kargs): ...
13981398
def getv(
13991399
self,
1400-
n_properties: int,
14011400
names: typing.Sequence[str],
14021401
values: typing.Sequence[typing.Any],
14031402
) -> None: ...
@@ -1407,9 +1406,7 @@ class GInterface(typing.Protocol):
14071406
def handler_is_connected(self, id: int) -> bool: ...
14081407
def handler_unblock(self, *args, **kwargs): ...
14091408
def handler_unblock_by_func(self, *args, **kwargs): ...
1410-
def install_properties(
1411-
self, n_pspecs: int, pspecs: typing.Sequence[ParamSpec]
1412-
) -> None: ...
1409+
def install_properties(self, pspecs: typing.Sequence[ParamSpec]) -> None: ...
14131410
def install_property(self, property_id: int, pspec: ParamSpec) -> None: ...
14141411
def interface_find_property(self, *args, **kargs): ...
14151412
def interface_install_property(self, *args, **kargs): ...
@@ -1420,7 +1417,6 @@ class GInterface(typing.Protocol):
14201417
def newv(
14211418
cls,
14221419
object_type: typing.Type[typing.Any],
1423-
n_parameters: int,
14241420
parameters: typing.Sequence[Parameter],
14251421
) -> Object: ...
14261422
def notify(self, property_name: str) -> None: ...

0 commit comments

Comments
 (0)