[gupnp-av] Fix GObject annotations for Features
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gupnp-av] Fix GObject annotations for Features
- Date: Wed, 24 Oct 2012 18:32:47 +0000 (UTC)
commit 8b1646c5f9553fdf794766b22c2c1f20c59ad367
Author: Jens Georg <mail jensge org>
Date: Wed Oct 24 19:59:17 2012 +0200
Fix GObject annotations for Features
libgupnp-av/gupnp-feature-list-parser.c | 7 ++++---
libgupnp-av/gupnp-feature.c | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/libgupnp-av/gupnp-feature-list-parser.c b/libgupnp-av/gupnp-feature-list-parser.c
index df7c81c..0f69277 100644
--- a/libgupnp-av/gupnp-feature-list-parser.c
+++ b/libgupnp-av/gupnp-feature-list-parser.c
@@ -114,12 +114,13 @@ get_feature_object_ids (xmlNode *feature)
* Parses @text and returns the list of available features.
* If an error occured @error will be set.
*
- * Return value: The list of features or %NULL if an error occured.
+ * Return value: (transfer full) (element-type GUPnPFeature): The list of
+ * features or %NULL if an error occured.
**/
GList *
gupnp_feature_list_parser_parse_text (GUPnPFeatureListParser *parser,
- const char *text,
- GError **error)
+ const char *text,
+ GError **error)
{
xmlDoc *doc;
xmlNode *element;
diff --git a/libgupnp-av/gupnp-feature.c b/libgupnp-av/gupnp-feature.c
index 668b1f5..872857d 100644
--- a/libgupnp-av/gupnp-feature.c
+++ b/libgupnp-av/gupnp-feature.c
@@ -191,7 +191,7 @@ gupnp_feature_class_init (GUPnPFeatureClass *klass)
/**
* gupnp_feature_get_name:
- * @v: #GUPnPFeature
+ * @feature: #GUPnPFeature
*
* Get the name of the @feature.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]