Fix a segfault

This commit is contained in:
Matthias Clasen 2005-05-24 20:45:26 +00:00 committed by Philip Withnall
parent b1cf4d87c9
commit 94d45e70a0

View File

@ -752,8 +752,8 @@ write_object_info (const gchar *namespace,
g_fprintf (file, " parent=\""); g_fprintf (file, " parent=\"");
write_type_name (namespace, (GIBaseInfo *)pnode, file); write_type_name (namespace, (GIBaseInfo *)pnode, file);
g_fprintf (file, "\"" ); g_fprintf (file, "\"" );
}
g_base_info_unref ((GIBaseInfo *)pnode); g_base_info_unref ((GIBaseInfo *)pnode);
}
g_fprintf (file, " type-name=\"%s\" get-type=\"%s\"", type_name, type_init); g_fprintf (file, " type-name=\"%s\" get-type=\"%s\"", type_name, type_init);