mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 06:56:14 +01:00
[gi] Add missing Gio transfer annotations
This commit is contained in:
parent
0e54825120
commit
782f839383
@ -632,8 +632,9 @@ property_name_sort_func (const gchar **a,
|
||||
*
|
||||
* Gets the names of all cached properties on @proxy.
|
||||
*
|
||||
* Returns: A %NULL-terminated array of strings or %NULL if @proxy has
|
||||
* no cached properties. Free the returned array with g_strfreev().
|
||||
* Returns: (transfer full): A %NULL-terminated array of strings or %NULL if
|
||||
* @proxy has no cached properties. Free the returned array with
|
||||
* g_strfreev().
|
||||
*
|
||||
* Since: 2.26
|
||||
*/
|
||||
|
@ -136,7 +136,7 @@ g_time_zone_monitor_class_init (GTimeZoneMonitorClass *class)
|
||||
* signals via the default #GMainContext. There is no way to create an
|
||||
* instance that will dispatch signals using a different context.
|
||||
*
|
||||
* Returns: a reference to the #GTimeZoneMonitor.
|
||||
* Returns: (transfer full): a reference to the #GTimeZoneMonitor.
|
||||
**/
|
||||
GTimeZoneMonitor *
|
||||
g_time_zone_monitor_get (void)
|
||||
|
@ -155,7 +155,8 @@ g_tls_backend_supports_tls (GTlsBackend *backend)
|
||||
*
|
||||
* Gets the default #GTlsDatabase used to verify TLS connections.
|
||||
*
|
||||
* Return value: the default database, which should be unreffed when done.
|
||||
* Return value: (transfer full): the default database, which should be
|
||||
* unreffed when done.
|
||||
*
|
||||
* Since: 2.30
|
||||
*/
|
||||
|
@ -153,7 +153,7 @@ g_tls_client_connection_default_init (GTlsClientConnectionInterface *iface)
|
||||
* must have pollable input and output streams) which is assumed to
|
||||
* communicate with the server identified by @server_identity.
|
||||
*
|
||||
* Return value: the new #GTlsClientConnection, or %NULL on error
|
||||
* Return value: (transfer full): the new #GTlsClientConnection, or %NULL on error
|
||||
*
|
||||
* Since: 2.28
|
||||
*/
|
||||
|
@ -414,7 +414,7 @@ g_tls_connection_set_database (GTlsConnection *conn,
|
||||
* Gets the certificate database that @conn uses to verify
|
||||
* peer certificates. See g_tls_connection_set_database().
|
||||
*
|
||||
* Return value: the certificate database that @conn uses or %NULL
|
||||
* Return value: (transfer none): the certificate database that @conn uses or %NULL
|
||||
*
|
||||
* Since: 2.30
|
||||
*/
|
||||
|
@ -84,7 +84,7 @@ g_tls_file_database_default_init (GTlsFileDatabaseInterface *iface)
|
||||
*
|
||||
* The certificates in @anchors must be PEM encoded.
|
||||
*
|
||||
* Return value: the new #GTlsFileDatabase, or %NULL on error
|
||||
* Return value: (transfer full): the new #GTlsFileDatabase, or %NULL on error
|
||||
*
|
||||
* Since: 2.30
|
||||
*/
|
||||
|
@ -73,7 +73,7 @@ g_tls_server_connection_default_init (GTlsServerConnectionInterface *iface)
|
||||
* Creates a new #GTlsServerConnection wrapping @base_io_stream (which
|
||||
* must have pollable input and output streams).
|
||||
*
|
||||
* Return value: the new #GTlsServerConnection, or %NULL on error
|
||||
* Return value: (transfer full): the new #GTlsServerConnection, or %NULL on error
|
||||
*
|
||||
* Since: 2.28
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user