summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2012-08-06 23:16:04 -0700
committerRichard Hughes <richard@hughsie.com>2012-08-07 07:28:37 +0100
commitc445d3787aa86fd17b7feed82ec542a698e442b2 (patch)
tree007935a3e8745ee1ccc127aa8392e8370b1c5be5
parent04cecef4d64bf8b8e91bc90079bd4ed1820d1d4c (diff)
downloadcolord-c445d3787aa86fd17b7feed82ec542a698e442b2.tar.gz
trivial: remove free function links from documentation
These notes are confusing for people trying to read documentation generated for languages which manage memory, such as Vala, JavaScript, and Python. Signed-off-by: Richard Hughes <richard@hughsie.com>
-rw-r--r--libcolord/cd-client-sync.c8
-rw-r--r--libcolord/cd-device.c2
-rw-r--r--libcolord/cd-profile.c2
-rw-r--r--libcolord/cd-sensor.c2
4 files changed, 7 insertions, 7 deletions
diff --git a/libcolord/cd-client-sync.c b/libcolord/cd-client-sync.c
index eabbc06..d73b346 100644
--- a/libcolord/cd-client-sync.c
+++ b/libcolord/cd-client-sync.c
@@ -502,7 +502,7 @@ cd_client_get_devices_finish_sync (CdClient *client,
* Do not use it in GUI applications.
*
* Return value: (transfer full) (element-type CdDevice): an array of
- * #CdDevice objects, free with g_ptr_array_unref()
+ * #CdDevice objects.
*
* Since: 0.1.0
**/
@@ -555,7 +555,7 @@ cd_client_get_profiles_finish_sync (CdClient *client,
* Do not use it in GUI applications.
*
* Return value: (transfer full) (element-type CdProfile): an array of
- * #CdProfile objects, free with g_ptr_array_unref()
+ * #CdProfile objects.
*
* Since: 0.1.0
**/
@@ -608,7 +608,7 @@ cd_client_get_sensors_finish_sync (CdClient *client,
* Do not use it in GUI applications.
*
* Return value: (transfer full) (element-type CdSensor): an array of
- * #CdSensor objects, free with g_ptr_array_unref()
+ * #CdSensor objects.
*
* Since: 0.1.0
**/
@@ -824,7 +824,7 @@ cd_client_get_devices_by_kind_finish_sync (CdClient *client,
* Do not use it in GUI applications.
*
* Return value: (transfer full) (element-type CdDevice): an array of
- * #CdDevice objects, free with g_ptr_array_unref()
+ * #CdDevice objects.
*
* Since: 0.1.0
**/
diff --git a/libcolord/cd-device.c b/libcolord/cd-device.c
index 2d2e43f..9e40c1f 100644
--- a/libcolord/cd-device.c
+++ b/libcolord/cd-device.c
@@ -447,7 +447,7 @@ out:
* Returns the device metadata.
*
* Return value: (transfer full) (element-type utf8 utf8): a
- * #GHashTable, free with g_hash_table_unref().
+ * #GHashTable.
*
* Since: 0.1.5
**/
diff --git a/libcolord/cd-profile.c b/libcolord/cd-profile.c
index 5b6f791..f44e900 100644
--- a/libcolord/cd-profile.c
+++ b/libcolord/cd-profile.c
@@ -406,7 +406,7 @@ cd_profile_get_is_system_wide (CdProfile *profile)
* Returns the profile metadata.
*
* Return value: (transfer full) (element-type utf8 utf8): a
- * #GHashTable, free with g_hash_table_unref().
+ * #GHashTable.
*
* Since: 0.1.2
**/
diff --git a/libcolord/cd-sensor.c b/libcolord/cd-sensor.c
index f2cdc60..bb8804e 100644
--- a/libcolord/cd-sensor.c
+++ b/libcolord/cd-sensor.c
@@ -275,7 +275,7 @@ cd_sensor_get_locked (CdSensor *sensor)
*
* Returns the sensor metadata.
*
- * Return value: a #GHashTable, free with g_hash_table_unref().
+ * Return value: (transfer full) (element-type utf8 utf8): a #GHashTable.
*
* Since: 0.1.6
**/