libmm-glib: fix several introspection annotations

This commit is contained in:
Aleksander Morgado
2013-10-24 17:16:33 +02:00
parent babc4aa259
commit e1c0621b09
6 changed files with 19 additions and 19 deletions
+6 -6
View File
@@ -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)
+1 -1
View File
@@ -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)
+7 -7
View File
@@ -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,
+3 -3
View File
@@ -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,
+1 -1
View File
@@ -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.
*
+1 -1
View File
@@ -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.
*/