summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoss Burton <ross@linux.intel.com>2010-05-17 14:44:18 +0100
committerRoss Burton <ross@linux.intel.com>2010-05-17 14:44:18 +0100
commita85b16a89d97199beabe283d5f0bdd9d1956490e (patch)
treefe327f84dc9a70b547337f92e9b906a71704da67
parent52b9b6127a15449503291489ac68e452c983e4a3 (diff)
rest: small prototype fixes to clean up docs
-rw-r--r--rest/rest-proxy-call.c6
-rw-r--r--rest/rest-xml-parser.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/rest/rest-proxy-call.c b/rest/rest-proxy-call.c
index 06ad607..a550606 100644
--- a/rest/rest-proxy-call.c
+++ b/rest/rest-proxy-call.c
@@ -703,7 +703,7 @@ prepare_message (RestProxyCall *call, GError **error_out)
* @callback: a #RestProxyCallAsyncCallback to invoke on completion of the call
* @weak_object: The #GObject to weakly reference and tie the lifecycle too
* @userdata: data to pass to @callback
- * @error_out: a #GError, or %NULL
+ * @error: a #GError, or %NULL
*
* Asynchronously invoke @call.
*
@@ -715,7 +715,7 @@ rest_proxy_call_async (RestProxyCall *call,
RestProxyCallAsyncCallback callback,
GObject *weak_object,
gpointer userdata,
- GError **error_out)
+ GError **error)
{
RestProxyCallPrivate *priv;
RestProxyCallClass *call_class;
@@ -734,7 +734,7 @@ rest_proxy_call_async (RestProxyCall *call,
return FALSE;
}
- message = prepare_message (call, error_out);
+ message = prepare_message (call, error);
if (message == NULL)
goto error;
diff --git a/rest/rest-xml-parser.h b/rest/rest-xml-parser.h
index f2aed21..967c2cf 100644
--- a/rest/rest-xml-parser.h
+++ b/rest/rest-xml-parser.h
@@ -4,7 +4,7 @@
*
* Authors: Rob Bradford <rob@linux.intel.com>
* Ross Burton <ross@linux.intel.com>
- *
+ *
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU Lesser General Public License,
* version 2.1, as published by the Free Software Foundation.
@@ -91,7 +91,7 @@ G_GNUC_DEPRECATED void rest_xml_node_free (RestXmlNode *node);
const gchar *rest_xml_node_get_attr (RestXmlNode *node,
const gchar *attr_name);
-RestXmlNode *rest_xml_node_find (RestXmlNode *node,
+RestXmlNode *rest_xml_node_find (RestXmlNode *start,
const gchar *tag);
G_END_DECLS