Add some (element-type) annotations to appease g-i master

This commit is contained in:
Dan Winship 2011-08-30 12:07:11 -04:00
parent 3418e6e85e
commit 14e8cba2b1
3 changed files with 19 additions and 1 deletions

View File

@ -263,6 +263,11 @@ gvc_mixer_card_change_profile (GvcMixerCard *card,
return TRUE;
}
/**
* gvc_mixer_card_get_profiles:
*
* Return value: (transfer none) (element-type GvcMixerCardProfile):
*/
const GList *
gvc_mixer_card_get_profiles (GvcMixerCard *card)
{
@ -281,6 +286,10 @@ sort_profiles (GvcMixerCardProfile *a,
return -1;
}
/**
* gvc_mixer_card_set_profiles:
* @profiles: (transfer full) (element-type GvcMixerCardProfile):
*/
gboolean
gvc_mixer_card_set_profiles (GvcMixerCard *card,
GList *profiles)

View File

@ -508,6 +508,11 @@ gvc_mixer_stream_change_port (GvcMixerStream *stream,
return GVC_MIXER_STREAM_GET_CLASS (stream)->change_port (stream, port);
}
/**
* gvc_mixer_stream_get_ports:
*
* Return value: (transfer none) (element-type GvcMixerStreamPort):
*/
const GList *
gvc_mixer_stream_get_ports (GvcMixerStream *stream)
{
@ -526,6 +531,10 @@ sort_ports (GvcMixerStreamPort *a,
return -1;
}
/**
* gvc_mixer_stream_set_ports:
* @ports: (transfer full) (element-type GvcMixerStreamPort):
*/
gboolean
gvc_mixer_stream_set_ports (GvcMixerStream *stream,
GList *ports)

View File

@ -1051,7 +1051,7 @@ _gather_pid_callback (GDesktopAppInfo *gapp,
/**
* shell_app_launch:
* @timestamp: Event timestamp, or 0 for current event timestamp
* @uris: List of uris to pass to application
* @uris: (element-type utf8): List of uris to pass to application
* @workspace: Start on this workspace, or -1 for default
* @startup_id: (out): Returned startup notification ID, or %NULL if none
* @error: A #GError