diff options
Diffstat (limited to 'glib/dbus-gparser.c')
-rw-r--r-- | glib/dbus-gparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/dbus-gparser.c b/glib/dbus-gparser.c index 83aaf782..2cdca81f 100644 --- a/glib/dbus-gparser.c +++ b/glib/dbus-gparser.c @@ -212,12 +212,12 @@ parser_check_doctype (Parser *parser, { g_return_val_if_fail (error == NULL || *error == NULL, FALSE); - if (strcmp (doctype, "dbus_description") != 0) + if (strcmp (doctype, "node") != 0) { g_set_error (error, G_MARKUP_ERROR, G_MARKUP_ERROR_PARSE, - "D-BUS description file has the wrong document type %s, use dbus_description", + "D-BUS description file has the wrong document type %s, use node or interface", doctype); return FALSE; } |