+2005-02-19 Havoc Pennington <hp@redhat.com>
+
+ * glib/dbus-gobject.c
+ (_dbus_glib_marshal_dbus_message_to_gvalue_array): add docs
+
+ * glib/dbus-glib.c: fix doxygen warnings
+
+ * glib/dbus-gparser.c (parse_annotation): error if an annotation
+ is found on an <arg>
+
2005-02-17 Colin Walters <walters@verbum.org>
* glib/dbus-gobject.h: Don't export
/**
* Increment refcount on a #DBusGConnection
*
- * @param connection the connection to ref
+ * @param gconnection the connection to ref
* @returns the connection that was ref'd
*/
DBusGConnection*
/**
* Decrement refcount on a #DBusGConnection
*
- * @param connection the connection to unref
+ * @param gconnection the connection to unref
*/
void
dbus_g_connection_unref (DBusGConnection *gconnection)
/**
* Increment refcount on a #DBusGMessage
*
- * @param message the message to ref
+ * @param gmessage the message to ref
* @returns the message that was ref'd
*/
DBusGMessage*
/**
* Decrement refcount on a #DBusGMessage
*
- * @param message the message to unref
+ * @param gmessage the message to unref
*/
void
dbus_g_message_unref (DBusGMessage *gmessage)
return method_dir_signature_from_object_info (object, method, FALSE);
}
+/**
+ * Converts the args of a message into an array of GValue.
+ *
+ * @param message the message
+ * @returns #NULL if conversion fails, otherwise the values.
+ */
GValueArray *
-_dbus_glib_marshal_dbus_message_to_gvalue_array (DBusMessage *message)
+_dbus_glib_marshal_dbus_message_to_gvalue_array (DBusMessage *message)
{
GValueArray *ret;
DBusMessageIter iter;
const char *name;
const char *value;
- if (!(parser->method || parser->interface || parser->arg) ||
+ if (!(parser->method || parser->interface) ||
parser->node_stack == NULL ||
parser->signal ||
parser->in_annotation)
NULL))
return FALSE;
- /* name can be null for args */
-
if (name == NULL)
{
g_set_error (error, G_MARKUP_ERROR,