aboutsummaryrefslogtreecommitdiff
path: root/libindicator
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2011-07-08 10:39:59 +1000
committerRobert Ancell <robert.ancell@canonical.com>2011-07-08 10:39:59 +1000
commit801419bd8a07b7870fc7dcaa5b154c5d2c028c98 (patch)
treec749dbc6a8920c51dfb1a71c2d1730ea5257803a /libindicator
parent352c01a8d42297be35392ac204f23bfd81fc0123 (diff)
downloadlibayatana-indicator-801419bd8a07b7870fc7dcaa5b154c5d2c028c98.tar.gz
libayatana-indicator-801419bd8a07b7870fc7dcaa5b154c5d2c028c98.tar.bz2
libayatana-indicator-801419bd8a07b7870fc7dcaa5b154c5d2c028c98.zip
Annotate the return value of indicator_object_get_entries so that the type in the list is known, also fix typo in docstring
Diffstat (limited to 'libindicator')
-rw-r--r--libindicator/indicator-object.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c
index 2fe8dd1..a563ebe 100644
--- a/libindicator/indicator-object.c
+++ b/libindicator/indicator-object.c
@@ -447,15 +447,15 @@ get_entries_default (IndicatorObject * io)
}
/**
- indicator_object_get_entires:
+ indicator_object_get_entries:
@io: #IndicatorObject to query
This function looks on the class for the object and calls
it's #IndicatorObjectClass::get_entries function. The
list should be owned by the caller, but the individual
- enteries should not be.
+ entries should not be.
- Return value: A list if #IndicatorObjectEntry structures or
+ Return value: (element-type IndicatorObjectEntry) (transfer container): A list if #IndicatorObjectEntry structures or
NULL if there is an error.
*/
GList *