From b2da0801679607a284c36b908dd87ce6cb27dee7 Mon Sep 17 00:00:00 2001 From: Evan Nemerson Date: Mon, 6 Aug 2012 23:15:39 -0700 Subject: [PATCH 1/2] trivial: assorted documentation fixes --- libcolord/cd-client.c | 4 ++-- libcolord/cd-device-sync.c | 2 +- libcolord/cd-device.c | 2 +- libcolord/cd-math.c | 2 -- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/libcolord/cd-client.c b/libcolord/cd-client.c index 99fe39d..02e2bbe 100644 --- a/libcolord/cd-client.c +++ b/libcolord/cd-client.c @@ -1692,7 +1692,7 @@ out: /** * cd_client_find_profile_by_filename: * @client: a #CdClient instance. - * @filename: a #profile filename + * @filename: a profile filename * @cancellable: a #GCancellable, or %NULL * @callback: the function to run on completion * @user_data: the data to pass to @callback @@ -1805,7 +1805,7 @@ out: /** * cd_client_get_standard_space: * @client: a #CdStandardSpace instance. - * @standard_space: a #profile id + * @standard_space: a profile id * @cancellable: a #GCancellable, or %NULL * @callback: the function to run on completion * @user_data: the data to pass to @callback diff --git a/libcolord/cd-device-sync.c b/libcolord/cd-device-sync.c index d6bf8ab..f794052 100644 --- a/libcolord/cd-device-sync.c +++ b/libcolord/cd-device-sync.c @@ -639,7 +639,7 @@ cd_device_set_kind_sync (CdDevice *device, /** * cd_device_set_colorspace_sync: * @device: a #CdDevice instance. - * @colorspace: The device colorspace, e.g. #CD_DEVICE_COLORSPACE_RGB + * @colorspace: The device colorspace, e.g. #CD_COLORSPACE_RGB * @cancellable: a #GCancellable or %NULL * @error: a #GError, or %NULL. * diff --git a/libcolord/cd-device.c b/libcolord/cd-device.c index 1fdf84b..2d2e43f 100644 --- a/libcolord/cd-device.c +++ b/libcolord/cd-device.c @@ -2052,7 +2052,7 @@ cd_device_class_init (CdDeviceClass *klass) /** * CdDevice:kind: * - * The device kind, e.g. %CD_DEVICE_KIND_KEYBOARD. + * The device kind, e.g. %CD_DEVICE_KIND_DISPLAY. * * Since: 0.1.0 **/ diff --git a/libcolord/cd-math.c b/libcolord/cd-math.c index 77a66bb..79fc776 100644 --- a/libcolord/cd-math.c +++ b/libcolord/cd-math.c @@ -411,8 +411,6 @@ cd_mat33_reciprocal (const CdMat3x3 *src, CdMat3x3 *dest) * * Copies the matrix. * The arguments @src and @dest cannot be the same value. - * - * Return value: %FALSE if det is zero (singular). **/ void cd_mat33_copy (const CdMat3x3 *src, CdMat3x3 *dest) -- 1.7.11.2