aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2013-10-24 17:16:33 +0200
committerAleksander Morgado <aleksander@lanedo.com>2013-10-24 17:16:33 +0200
commite1c0621b099d698d2c462f32e4d341207a98d520 (patch)
treed30dabe8fb0f526fbc619de903a23a51a8398c6d
parentbabc4aa2594b239aae7287a4f3944b47d5cbe737 (diff)
libmm-glib: fix several introspection annotations
-rw-r--r--libmm-glib/mm-bearer.c12
-rw-r--r--libmm-glib/mm-location-gps-nmea.c2
-rw-r--r--libmm-glib/mm-modem-location.c14
-rw-r--r--libmm-glib/mm-modem.c6
-rw-r--r--libmm-glib/mm-sms.c2
-rw-r--r--libmm-glib/mm-unlock-retries.c2
6 files changed, 19 insertions, 19 deletions
diff --git a/libmm-glib/mm-bearer.c b/libmm-glib/mm-bearer.c
index 36da4f7f..4694cbeb 100644
--- a/libmm-glib/mm-bearer.c
+++ b/libmm-glib/mm-bearer.c
@@ -273,7 +273,7 @@ ensure_internal_ipv4_config (MMBearer *self,
* mm_bearer_get_ipv4_config() again to get a new #MMBearerIpConfig with the
* new values.</warning>
*
- * Returns: (transfer full) A #MMBearerIpConfig that must be freed with g_object_unref() or %NULL if unknown.
+ * Returns: (transfer full): A #MMBearerIpConfig that must be freed with g_object_unref() or %NULL if unknown.
*/
MMBearerIpConfig *
mm_bearer_get_ipv4_config (MMBearer *self)
@@ -298,7 +298,7 @@ mm_bearer_get_ipv4_config (MMBearer *self)
* @self was constructed. Use mm_bearer_get_ipv4_config() if on another
* thread.</warning>
*
- * Returns: (transfer none) A #MMBearerIpConfig. Do not free the returned value, it belongs to @self.
+ * Returns: (transfer none): A #MMBearerIpConfig. Do not free the returned value, it belongs to @self.
*/
MMBearerIpConfig *
mm_bearer_peek_ipv4_config (MMBearer *self)
@@ -385,7 +385,7 @@ ensure_internal_ipv6_config (MMBearer *self,
* mm_bearer_get_ipv6_config() again to get a new #MMBearerIpConfig with the
* new values.</warning>
*
- * Returns: (transfer full) A #MMBearerIpConfig that must be freed with g_object_unref() or %NULL if unknown.
+ * Returns: (transfer full): A #MMBearerIpConfig that must be freed with g_object_unref() or %NULL if unknown.
*/
MMBearerIpConfig *
mm_bearer_get_ipv6_config (MMBearer *self)
@@ -410,7 +410,7 @@ mm_bearer_get_ipv6_config (MMBearer *self)
* @self was constructed. Use mm_bearer_get_ipv6_config() if on another
* thread.</warning>
*
- * Returns: (transfer none) A #MMBearerIpConfig. Do not free the returned value, it belongs to @self.
+ * Returns: (transfer none): A #MMBearerIpConfig. Do not free the returned value, it belongs to @self.
*/
MMBearerIpConfig *
mm_bearer_peek_ipv6_config (MMBearer *self)
@@ -497,7 +497,7 @@ ensure_internal_properties (MMBearer *self,
* mm_bearer_get_properties() again to get a new #MMBearerProperties with the
* new values.</warning>
*
- * Returns: (transfer full) A #MMBearerProperties that must be freed with g_object_unref() or %NULL if unknown.
+ * Returns: (transfer full): A #MMBearerProperties that must be freed with g_object_unref() or %NULL if unknown.
*/
MMBearerProperties *
mm_bearer_get_properties (MMBearer *self)
@@ -522,7 +522,7 @@ mm_bearer_get_properties (MMBearer *self)
* @self was constructed. Use mm_bearer_get_properties() if on another
* thread.</warning>
*
- * Returns: (transfer none) A #MMBearerProperties. Do not free the returned value, it belongs to @self.
+ * Returns: (transfer none): A #MMBearerProperties. Do not free the returned value, it belongs to @self.
*/
MMBearerProperties *
mm_bearer_peek_properties (MMBearer *self)
diff --git a/libmm-glib/mm-location-gps-nmea.c b/libmm-glib/mm-location-gps-nmea.c
index 2070eebc..08ec97ff 100644
--- a/libmm-glib/mm-location-gps-nmea.c
+++ b/libmm-glib/mm-location-gps-nmea.c
@@ -158,7 +158,7 @@ build_full_foreach (const gchar *trace_type,
*
* Gets a compilation of all cached traces.
*
- * Returns: (transfer full) a string containing all traces, or #NULL if none available. The returned value should be freed with g_free().
+ * Returns: (transfer full): a string containing all traces, or #NULL if none available. The returned value should be freed with g_free().
*/
gchar *
mm_location_gps_nmea_build_full (MMLocationGpsNmea *self)
diff --git a/libmm-glib/mm-modem-location.c b/libmm-glib/mm-modem-location.c
index 6df83c21..db70a318 100644
--- a/libmm-glib/mm-modem-location.c
+++ b/libmm-glib/mm-modem-location.c
@@ -437,7 +437,7 @@ mm_modem_location_get_3gpp (MMModemLocation *self,
* The calling thread is blocked until a reply is received. See mm_modem_location_get_3gpp()
* for the asynchronous version of this method.
*
- * Returns: (transfer full) A #MMLocation3gpp, or #NULL if not available. The returned value should be freed with g_object_unref().
+ * Returns: (transfer full): A #MMLocation3gpp, or #NULL if not available. The returned value should be freed with g_object_unref().
*/
MMLocation3gpp *
mm_modem_location_get_3gpp_sync (MMModemLocation *self,
@@ -461,7 +461,7 @@ mm_modem_location_get_3gpp_sync (MMModemLocation *self,
*
* Finishes an operation started with mm_modem_location_get_gps_nmea().
*
- * Returns: (transfer full) A #MMLocationGpsNmea, or #NULL if not available. The returned value should be freed with g_object_unref().
+ * Returns: (transfer full): A #MMLocationGpsNmea, or #NULL if not available. The returned value should be freed with g_object_unref().
*/
MMLocationGpsNmea *
mm_modem_location_get_gps_nmea_finish (MMModemLocation *self,
@@ -509,7 +509,7 @@ mm_modem_location_get_gps_nmea (MMModemLocation *self,
* The calling thread is blocked until a reply is received. See mm_modem_location_get_gps_nmea()
* for the asynchronous version of this method.
*
- * Returns: (transfer full) A #MMLocationGpsNmea, or #NULL if not available. The returned value should be freed with g_object_unref().
+ * Returns: (transfer full): A #MMLocationGpsNmea, or #NULL if not available. The returned value should be freed with g_object_unref().
*/
MMLocationGpsNmea *
mm_modem_location_get_gps_nmea_sync (MMModemLocation *self,
@@ -533,7 +533,7 @@ mm_modem_location_get_gps_nmea_sync (MMModemLocation *self,
*
* Finishes an operation started with mm_modem_location_get_gps_raw().
*
- * Returns: (transfer full) A #MMLocationGpsRaw, or #NULL if not available. The returned value should be freed with g_object_unref().
+ * Returns: (transfer full): A #MMLocationGpsRaw, or #NULL if not available. The returned value should be freed with g_object_unref().
*/
MMLocationGpsRaw *
mm_modem_location_get_gps_raw_finish (MMModemLocation *self,
@@ -581,7 +581,7 @@ mm_modem_location_get_gps_raw (MMModemLocation *self,
* The calling thread is blocked until a reply is received. See mm_modem_location_get_gps_raw()
* for the asynchronous version of this method.
*
- * Returns: (transfer full) A #MMLocationGpsRaw, or #NULL if not available. The returned value should be freed with g_object_unref().
+ * Returns: (transfer full): A #MMLocationGpsRaw, or #NULL if not available. The returned value should be freed with g_object_unref().
*/
MMLocationGpsRaw *
mm_modem_location_get_gps_raw_sync (MMModemLocation *self,
@@ -605,7 +605,7 @@ mm_modem_location_get_gps_raw_sync (MMModemLocation *self,
*
* Finishes an operation started with mm_modem_location_get_cdma_bs().
*
- * Returns: (transfer full) A #MMLocationCdmaBs, or #NULL if not available. The returned value should be freed with g_object_unref().
+ * Returns: (transfer full): A #MMLocationCdmaBs, or #NULL if not available. The returned value should be freed with g_object_unref().
*/
MMLocationCdmaBs *
mm_modem_location_get_cdma_bs_finish (MMModemLocation *self,
@@ -653,7 +653,7 @@ mm_modem_location_get_cdma_bs (MMModemLocation *self,
* The calling thread is blocked until a reply is received. See mm_modem_location_get_cdma_bs()
* for the asynchronous version of this method.
*
- * Returns: (transfer full) A #MMLocationCdmaBs, or #NULL if not available. The returned value should be freed with g_object_unref().
+ * Returns: (transfer full): A #MMLocationCdmaBs, or #NULL if not available. The returned value should be freed with g_object_unref().
*/
MMLocationCdmaBs *
mm_modem_location_get_cdma_bs_sync (MMModemLocation *self,
diff --git a/libmm-glib/mm-modem.c b/libmm-glib/mm-modem.c
index fdd68335..9dc70234 100644
--- a/libmm-glib/mm-modem.c
+++ b/libmm-glib/mm-modem.c
@@ -1013,7 +1013,7 @@ mm_modem_get_unlock_retries (MMModem *self)
* @self was constructed. Use mm_modem_get_unlock_retries() if on another
* thread.</warning>
*
- * Returns: (transfer none) A #MMUnlockRetries. Do not free the returned value, it belongs to @self.
+ * Returns: (transfer none): A #MMUnlockRetries. Do not free the returned value, it belongs to @self.
*/
MMUnlockRetries *
mm_modem_peek_unlock_retries (MMModem *self)
@@ -2375,7 +2375,7 @@ mm_modem_factory_reset_sync (MMModem *self,
*
* Finishes an operation started with mm_modem_command().
*
- * Returns: (transfer full) A newly allocated string with the reply to the command, or #NULL if @error is set. The returned value should be freed with g_free().
+ * Returns: (transfer full): A newly allocated string with the reply to the command, or #NULL if @error is set. The returned value should be freed with g_free().
*/
gchar *
mm_modem_command_finish (MMModem *self,
@@ -2437,7 +2437,7 @@ mm_modem_command (MMModem *self,
* The calling thread is blocked until a reply is received. See mm_modem_command()
* for the asynchronous version of this method.
*
- * Returns: (transfer full) A newly allocated string with the reply to the command, or #NULL if @error is set. The returned value should be freed with g_free().
+ * Returns: (transfer full): A newly allocated string with the reply to the command, or #NULL if @error is set. The returned value should be freed with g_free().
*/
gchar *
mm_modem_command_sync (MMModem *self,
diff --git a/libmm-glib/mm-sms.c b/libmm-glib/mm-sms.c
index 82290218..e7425f38 100644
--- a/libmm-glib/mm-sms.c
+++ b/libmm-glib/mm-sms.c
@@ -154,7 +154,7 @@ mm_sms_get_data (MMSms *self,
/**
* mm_sms_dup_data:
* @self: A #MMSms.
- * @data_len: (out) Size of the output data, if any given.
+ * @data_len: (out): Size of the output data, if any given.
*
* Gets the message data.
*
diff --git a/libmm-glib/mm-unlock-retries.c b/libmm-glib/mm-unlock-retries.c
index 0901fb65..935c7ceb 100644
--- a/libmm-glib/mm-unlock-retries.c
+++ b/libmm-glib/mm-unlock-retries.c
@@ -113,7 +113,7 @@ mm_unlock_retries_cmp (MMUnlockRetries *a,
* mm_unlock_retries_foreach:
* @self: a @MMUnlockRetries.
* @callback: (scope call): callback to call for each available lock.
- * @user_data: (closure) data to pass to @callback.
+ * @user_data: (closure): data to pass to @callback.
*
* Executes @callback for each lock information found in @self.
*/