diff options
author | Bastien Nocera <hadess@hadess.net> | 2013-10-10 22:28:26 +0200 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2013-10-14 09:58:22 +0200 |
commit | 66da41ceacbeb1ecea05ed6c8df112faee9aeeb0 (patch) | |
tree | 87b42e5b24b44ab5f002778015b9180f91580bca | |
parent | fc5793e742d769febd3239bab8e88750457423ab (diff) | |
download | upower-66da41ceacbeb1ecea05ed6c8df112faee9aeeb0.tar.gz |
lib: Add missing "element-type" introspection metadata
https://bugs.freedesktop.org/show_bug.cgi?id=55419
-rw-r--r-- | libupower-glib/up-client.c | 2 | ||||
-rw-r--r-- | libupower-glib/up-device.c | 4 | ||||
-rw-r--r-- | libupower-glib/up-wakeups.c | 2 |
3 files changed, 4 insertions, 4 deletions
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 **/ |