From 8364cce5749d0f824532fd02be6ee40ba60fa2c5 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 4 Jan 2011 15:45:57 +0000 Subject: [PATCH 2/6] Allow inside too --- dbus/dbus-gparser.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dbus/dbus-gparser.c b/dbus/dbus-gparser.c index fe63339..783cab2 100644 --- a/dbus/dbus-gparser.c +++ b/dbus/dbus-gparser.c @@ -695,9 +695,9 @@ parse_annotation (Parser *parser, const char *name; const char *value; - if (!(parser->method || parser->interface || parser->arg) || + if (!(parser->method || parser->interface || parser->arg || + parser->property || parser->signal) || parser->node_stack == NULL || - parser->property || parser->in_annotation) { g_set_error (error, G_MARKUP_ERROR, -- 1.7.2.3