mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-10 18:43:42 +01:00
girepository: Add various missing casts
These aren’t needed at the moment, since all the `TypeInfo` structs in libgirepository are all aliases for each other. An upcoming commit will change that, however, so we need to be a little bit stricter about type safety in advance. Signed-off-by: Philip Withnall <pwithnall@gnome.org> Helps: #3155
This commit is contained in:
@@ -311,7 +311,7 @@ gi_interface_info_find_signal (GIInterfaceInfo *info,
|
||||
{
|
||||
GISignalInfo *siginfo = gi_interface_info_get_signal (info, i);
|
||||
|
||||
if (g_strcmp0 (gi_base_info_get_name (siginfo), name) != 0)
|
||||
if (g_strcmp0 (gi_base_info_get_name ((GIBaseInfo *) siginfo), name) != 0)
|
||||
{
|
||||
gi_base_info_unref ((GIBaseInfo*)siginfo);
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user