mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
girepository: Rename gi_arg_info_load_type() to gi_arg_info_load_type_info()
So that it matches `gi_arg_info_get_type_info()`. We can’t use `gi_arg_info_get_type()` because that collides with the `GType` getter for the type. Spotted by Philip Chimento. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Fixes: #3243
This commit is contained in:
@@ -199,7 +199,7 @@ test_repository_arg_info (RepositoryFixture *fx,
|
||||
g_assert_true (gi_type_info_is_pointer (type_info));
|
||||
g_assert_cmpint (gi_type_info_get_tag (type_info), ==, GI_TYPE_TAG_UTF8);
|
||||
|
||||
gi_arg_info_load_type (arg_info, &type_info_stack);
|
||||
gi_arg_info_load_type_info (arg_info, &type_info_stack);
|
||||
g_assert_true (gi_type_info_is_pointer (&type_info_stack) == gi_type_info_is_pointer (type_info));
|
||||
g_assert_cmpint (gi_type_info_get_tag (&type_info_stack), ==, gi_type_info_get_tag (type_info));
|
||||
|
||||
|
Reference in New Issue
Block a user