From e12863aae85dc131fcdd552edd6b32bd15702e12 Mon Sep 17 00:00:00 2001 From: Havoc Pennington Date: Tue, 1 Jun 2004 03:02:26 +0000 Subject: 2004-05-31 Havoc Pennington * 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...) --- glib/dbus-gparser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'glib/dbus-gparser.c') 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; } -- cgit