mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 21:16:15 +01:00
Be quiet, do not warn about unhandled members.
2008-10-24 Johan Dahlin <johan@gnome.org> * girepository/girnode.c (g_ir_node_check_unhandled_members): Be quiet, do not warn about unhandled members. svn path=/trunk/; revision=811
This commit is contained in:
parent
b97c26b3ee
commit
696aa37e4e
@ -1220,6 +1220,7 @@ static void
|
||||
g_ir_node_check_unhandled_members (GList **members,
|
||||
GIrNodeTypeId container_type)
|
||||
{
|
||||
#if 0
|
||||
if (*members)
|
||||
{
|
||||
GList *l;
|
||||
@ -1227,7 +1228,6 @@ g_ir_node_check_unhandled_members (GList **members,
|
||||
for (l = *members; l; l = l->next)
|
||||
{
|
||||
GIrNode *member = (GIrNode *)l->data;
|
||||
|
||||
g_printerr ("Unhandled '%s' member '%s' type '%s'\n",
|
||||
g_ir_node_type_to_string (container_type),
|
||||
member->name,
|
||||
@ -1237,10 +1237,12 @@ g_ir_node_check_unhandled_members (GList **members,
|
||||
g_list_free (*members);
|
||||
*members = NULL;
|
||||
|
||||
/* Commented out for now to not break the build.
|
||||
g_error ("Unhandled members. Aborting.");
|
||||
*/
|
||||
}
|
||||
#else
|
||||
g_list_free (*members);
|
||||
*members = NULL;
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user