diff --git a/src/gi-stubs/repository/Gio.pyi b/src/gi-stubs/repository/Gio.pyi index 8517c383..2c4b5c2c 100644 --- a/src/gi-stubs/repository/Gio.pyi +++ b/src/gi-stubs/repository/Gio.pyi @@ -6156,7 +6156,13 @@ class ListStore(GObject.Object, ListModel): def __init__(self, item_type: typing.Type[typing.Any] = ...) -> None: ... def append(self, item: GObject.Object) -> None: ... def find(self, item: GObject.Object) -> typing.Tuple[bool, int]: ... - def find_with_equal_func(self, item, equal_func, *user_data): ... # FIXME Function + # override + def find_with_equal_func( + self, + item: typing.Optional[GObject.Object], + equal_func: typing.Callable[..., bool], + *user_data: typing.Any, + ) -> typing.Tuple[bool, int]: ... def find_with_equal_func_full( self, item: typing.Optional[GObject.Object], @@ -6164,12 +6170,21 @@ class ListStore(GObject.Object, ListModel): *user_data: typing.Any, ) -> typing.Tuple[bool, int]: ... def insert(self, position: int, item: GObject.Object) -> None: ... - def insert_sorted(self, item, compare_func, *user_data): ... # FIXME Function + # override + def insert_sorted( + self, + item: GObject.Object, + compare_func: typing.Callable[..., int], + *user_data: typing.Any, + ) -> int: ... @classmethod def new(cls, item_type: typing.Type[typing.Any]) -> ListStore: ... def remove(self, position: int) -> None: ... def remove_all(self) -> None: ... - def sort(self, compare_func, *user_data): ... # FIXME Function + # override + def sort( + self, compare_func: typing.Callable[..., int], *user_data: typing.Any + ) -> int: ... def splice( self, position: int, n_removals: int, additions: typing.Sequence[GObject.Object] ) -> None: ...