From 66da41ceacbeb1ecea05ed6c8df112faee9aeeb0 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Thu, 10 Oct 2013 22:28:26 +0200 Subject: lib: Add missing "element-type" introspection metadata https://bugs.freedesktop.org/show_bug.cgi?id=55419 --- libupower-glib/up-client.c | 2 +- libupower-glib/up-device.c | 4 ++-- libupower-glib/up-wakeups.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'libupower-glib') diff --git a/libupower-glib/up-client.c b/libupower-glib/up-client.c index c993391..26960fe 100644 --- a/libupower-glib/up-client.c +++ b/libupower-glib/up-client.c @@ -126,7 +126,7 @@ up_client_get_device (UpClient *client, const gchar *object_path) * You must have called up_client_enumerate_devices_sync() before calling this * function. * - * Return value: (transfer full): an array of #UpDevice objects, free with g_ptr_array_unref() + * Return value: (element-type UpDevice) (transfer full): an array of #UpDevice objects, free with g_ptr_array_unref() * * Since: 0.9.0 **/ diff --git a/libupower-glib/up-device.c b/libupower-glib/up-device.c index b8768d8..31db5ec 100644 --- a/libupower-glib/up-device.c +++ b/libupower-glib/up-device.c @@ -592,7 +592,7 @@ out: * * Gets the device history. * - * Return value: (transfer full): an array of #UpHistoryItem's, with the most + * Return value: (element-type UpHistoryItem) (transfer full): an array of #UpHistoryItem's, with the most * recent one being first; %NULL if @error is set or @device is * invalid * @@ -679,7 +679,7 @@ out: * * Gets the device current statistics. * - * Return value: (transfer full): an array of #UpStatsItem's, else #NULL and @error is used + * Return value: (element-type UpStatsItem) (transfer full): an array of #UpStatsItem's, else #NULL and @error is used * * Since: 0.9.0 **/ diff --git a/libupower-glib/up-wakeups.c b/libupower-glib/up-wakeups.c index ed6bf80..20b9f59 100644 --- a/libupower-glib/up-wakeups.c +++ b/libupower-glib/up-wakeups.c @@ -99,7 +99,7 @@ up_wakeups_get_total_sync (UpWakeups *wakeups, GCancellable *cancellable, GError * * Gets the wakeups data from the daemon. * - * Return value: (transfer full): an array of %UpWakeupItem's + * Return value: (element-type UpWakeupItem) (transfer full): an array of %UpWakeupItem's * * Since: 0.9.1 **/ -- cgit v1.2.1