conf-parser: Add support for parsing property lists.

This commit is contained in:
Tanu Kaskinen 2012-04-13 14:48:27 +03:00
parent 7449f6d9e5
commit d3bced8bee
6 changed files with 61 additions and 11 deletions

View file

@ -206,7 +206,7 @@ static void update_rule(struct rule *r) {
table[0].data = &r->application_name;
table[1].data = &r->icon_name;
if (pa_config_parse(fn, NULL, table, r) < 0)
if (pa_config_parse(fn, NULL, table, NULL, r) < 0)
pa_log_warn("Failed to parse .desktop file %s.", fn);
pa_xfree(fn);