summaryrefslogtreecommitdiffstats
path: root/glib/dbus-gparser.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2004-06-01 03:02:26 +0000
committerHavoc Pennington <hp@redhat.com>2004-06-01 03:02:26 +0000
commite12863aae85dc131fcdd552edd6b32bd15702e12 (patch)
treeed7c53b2388c7136069043f3fa72f64927c95b6f /glib/dbus-gparser.c
parent23e9d3d5040f51870f212ea70a94c9913c90e66b (diff)
2004-05-31 Havoc Pennington <hp@redhat.com>
* glib/dbus-gidl.c (method_info_add_arg): keep args sorted with "in" before "out" * glib/dbus-gobject.c (dbus_type_to_string): move to dbus-gutils.c * glib/dbus-glib-tool.c (main): set up to have a --self-test option that runs the tests, and start filling in some code including for starters just dumping the interfaces to stdout * glib/Makefile.am (INCLUDES): define DBUS_LOCALEDIR * test/data/valid-introspection-files/lots-of-types.xml: test of an example introspection file * glib/dbus-gparser.c (parser_check_doctype): doctype should be "node" (I think...)
Diffstat (limited to 'glib/dbus-gparser.c')
-rw-r--r--glib/dbus-gparser.c4
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;
}