- if (g_hash_table_lookup(reg, section) != NULL)
- g_warning("duplicate request for section '%s' in the rc file",
- section);
- else {
- struct Functions *f = g_new(struct Functions, 1);
- f->func = func;
- f->afunc = afunc;
- g_hash_table_insert(reg, g_ascii_strdown(section, -1), f);
- }
+ struct Functions *f = g_new(struct Functions, 1);
+ f->f = func;
+ f->af = afunc;
+ g_hash_table_insert(reg, g_ascii_strdown(section, -1), f);