mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Merge branch '650-signal-lookup-warnings' into 'master'
gsignal: Drop unnecessary warnings from g_signal_lookup() Closes #650 See merge request GNOME/glib!1247
This commit is contained in:
commit
829ec978ed
@ -1325,12 +1325,6 @@ g_signal_lookup (const gchar *name,
|
|||||||
if (!g_type_name (itype))
|
if (!g_type_name (itype))
|
||||||
g_warning (G_STRLOC ": unable to look up signal \"%s\" for invalid type id '%"G_GSIZE_FORMAT"'",
|
g_warning (G_STRLOC ": unable to look up signal \"%s\" for invalid type id '%"G_GSIZE_FORMAT"'",
|
||||||
name, itype);
|
name, itype);
|
||||||
else if (!G_TYPE_IS_INSTANTIATABLE (itype))
|
|
||||||
g_warning (G_STRLOC ": unable to look up signal \"%s\" for non instantiatable type '%s'",
|
|
||||||
name, g_type_name (itype));
|
|
||||||
else if (!g_type_class_peek (itype))
|
|
||||||
g_warning (G_STRLOC ": unable to look up signal \"%s\" of unloaded type '%s'",
|
|
||||||
name, g_type_name (itype));
|
|
||||||
else if (!is_valid_signal_name (name))
|
else if (!is_valid_signal_name (name))
|
||||||
g_warning (G_STRLOC ": unable to look up invalid signal name \"%s\" on type '%s'",
|
g_warning (G_STRLOC ": unable to look up invalid signal name \"%s\" on type '%s'",
|
||||||
name, g_type_name (itype));
|
name, g_type_name (itype));
|
||||||
|
Loading…
Reference in New Issue
Block a user