[gnome-control-center] sound: Add some (element-type) annotations to appease g-i master
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] sound: Add some (element-type) annotations to appease g-i master
- Date: Wed, 31 Aug 2011 08:40:54 +0000 (UTC)
commit 3295036afb738ac04ec8e720cab7248d31ea1797
Author: Dan Winship <danw gnome org>
Date: Wed Aug 31 09:40:29 2011 +0100
sound: Add some (element-type) annotations to appease g-i master
See gnome-shell commit 14e8cba2b184b16d0dbd9beb929860a1e1155709
panels/sound/gvc-mixer-card.c | 9 +++++++++
panels/sound/gvc-mixer-stream.c | 9 +++++++++
2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/panels/sound/gvc-mixer-card.c b/panels/sound/gvc-mixer-card.c
index 56502e3..168bc79 100644
--- a/panels/sound/gvc-mixer-card.c
+++ b/panels/sound/gvc-mixer-card.c
@@ -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)
diff --git a/panels/sound/gvc-mixer-stream.c b/panels/sound/gvc-mixer-stream.c
index 78de6b3..f35954a 100644
--- a/panels/sound/gvc-mixer-stream.c
+++ b/panels/sound/gvc-mixer-stream.c
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]