2008-07-03 Jürg Billeter <j@bitron.ch>
* gobject-introspection/scanner.c: (g_igenerator_add_symbol):
Only drop duplicates of the same namespace
svn path=/trunk/; revision=1672
+2008-07-03 Jürg Billeter <j@bitron.ch>
+
+ * gobject-introspection/scanner.c: (g_igenerator_add_symbol):
+
+ Only drop duplicates of the same namespace
+
2008-07-02 Jürg Billeter <j@bitron.ch>
* gobject/valaccodegeneratorsourcefile.vala:
/* that's not very optimized ! */
for (l = igenerator->symbol_list; l != NULL; l = l->next)
{
- if (g_str_equal (((CSymbol*)l->data)->ident, symbol->ident))
+ CSymbol *other_symbol = (CSymbol *)l->data;
+ if (g_str_equal (other_symbol->ident, symbol->ident)
+ && other_symbol->type == symbol->type)
{
g_printerr ("Dropping %s duplicate\n", symbol->ident);
return;