@@ -10,9 +10,11 @@ from typing import TypeVar
1010from gi .repository import GLib
1111from gi .repository import GObject
1212
13+ T = TypeVar ("T" )
14+
1315MAJOR_VERSION : int = 1
14- MICRO_VERSION : int = 1
15- MINOR_VERSION : int = 80
16+ MICRO_VERSION : int = 0
17+ MINOR_VERSION : int = 84
1618TYPE_TAG_N_TYPES : int = 22
1719_lock = ... # FIXME Constant
1820_namespace : str = "GIRepository"
@@ -140,7 +142,7 @@ def property_info_get_getter(info: BaseInfo) -> Optional[BaseInfo]: ...
140142def property_info_get_ownership_transfer (info : BaseInfo ) -> Transfer : ...
141143def property_info_get_setter (info : BaseInfo ) -> Optional [BaseInfo ]: ...
142144def property_info_get_type (info : BaseInfo ) -> BaseInfo : ...
143- def registered_type_info_get_g_type (info : BaseInfo ) -> Type : ...
145+ def registered_type_info_get_g_type (info : BaseInfo ) -> Type [ Any ] : ...
144146def registered_type_info_get_type_init (info : BaseInfo ) -> str : ...
145147def registered_type_info_get_type_name (info : BaseInfo ) -> str : ...
146148def signal_info_get_class_closure (info : BaseInfo ) -> BaseInfo : ...
@@ -192,7 +194,7 @@ def union_info_get_n_methods(info: BaseInfo) -> int: ...
192194def union_info_get_size (info : BaseInfo ) -> int : ...
193195def union_info_is_discriminated (info : BaseInfo ) -> bool : ...
194196def value_info_get_value (info : BaseInfo ) -> int : ...
195- def vfunc_info_get_address (info : BaseInfo , implementor_gtype : Type ) -> None : ...
197+ def vfunc_info_get_address (info : BaseInfo , implementor_gtype : Type [ Any ] ) -> None : ...
196198def vfunc_info_get_flags (info : BaseInfo ) -> VFuncInfoFlags : ...
197199def vfunc_info_get_invoker (info : BaseInfo ) -> BaseInfo : ...
198200def vfunc_info_get_offset (info : BaseInfo ) -> int : ...
@@ -284,7 +286,7 @@ class Repository(GObject.Object):
284286 @staticmethod
285287 def error_quark () -> int : ...
286288 def find_by_error_domain (self , domain : int ) -> BaseInfo : ...
287- def find_by_gtype (self , gtype : Type ) -> BaseInfo : ...
289+ def find_by_gtype (self , gtype : Type [ Any ] ) -> BaseInfo : ...
288290 def find_by_name (self , namespace_ : str , name : str ) -> BaseInfo : ...
289291 def get_c_prefix (self , namespace_ : str ) -> str : ...
290292 @staticmethod
@@ -294,7 +296,7 @@ class Repository(GObject.Object):
294296 def get_info (self , namespace_ : str , index : int ) -> BaseInfo : ...
295297 def get_loaded_namespaces (self ) -> list [str ]: ...
296298 def get_n_infos (self , namespace_ : str ) -> int : ...
297- def get_object_gtype_interfaces (self , gtype : Type ) -> list [BaseInfo ]: ...
299+ def get_object_gtype_interfaces (self , gtype : Type [ Any ] ) -> list [BaseInfo ]: ...
298300 @staticmethod
299301 def get_option_group () -> GLib .OptionGroup : ...
300302 @staticmethod
0 commit comments