summaryrefslogtreecommitdiff
path: root/gvc-mixer-ui-device.c
diff options
context:
space:
mode:
authorGiovanni Campagna <gcampagna@src.gnome.org>2012-10-19 20:00:47 +0200
committerGiovanni Campagna <gcampagna@src.gnome.org>2012-10-19 20:00:47 +0200
commita1448acc5b6d191c8dc1383b25a92f382b6b0363 (patch)
tree426ecaca23565acd1cb7b8b5eb06edd7551f688b /gvc-mixer-ui-device.c
parent698b3a5f6080b58f136be52e8bf349da5cb3fbff (diff)
downloadlibgnome-volume-control-a1448acc5b6d191c8dc1383b25a92f382b6b0363.tar.gz
Fix introspection support
Fix includes, comments and parameter names so that introspection builds without warnings.
Diffstat (limited to 'gvc-mixer-ui-device.c')
-rw-r--r--gvc-mixer-ui-device.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/gvc-mixer-ui-device.c b/gvc-mixer-ui-device.c
index 6f35990..a0d6b16 100644
--- a/gvc-mixer-ui-device.c
+++ b/gvc-mixer-ui-device.c
@@ -378,8 +378,7 @@ add_canonical_names_of_profiles (GvcMixerUIDevice *device,
/**
* gvc_mixer_ui_device_set_profiles:
- *
- * @in_profiles: a list of GvcMixerCardProfile
+ * @in_profiles: (element-type Gvc.MixerCardProfile): a list of GvcMixerCardProfile
*
* Assigns value to
* - device->priv->profiles (profiles to be added to combobox)
@@ -430,7 +429,6 @@ gvc_mixer_ui_device_set_profiles (GvcMixerUIDevice *device,
/**
* gvc_mixer_ui_device_get_best_profile:
- *
* @selected: The selected profile or its canonical name or %NULL for any profile
* @current: The currently selected profile
*
@@ -543,6 +541,12 @@ gvc_mixer_ui_device_should_profiles_be_hidden (GvcMixerUIDevice *device)
return device->priv->disable_profile_swapping;
}
+/**
+ * gvc_mixer_ui_device_get_profiles:
+ * @device:
+ *
+ * Returns: (transfer none) (element-type Gvc.MixerCardProfile):
+ */
GList*
gvc_mixer_ui_device_get_profiles (GvcMixerUIDevice *device)
{
@@ -551,6 +555,12 @@ gvc_mixer_ui_device_get_profiles (GvcMixerUIDevice *device)
return device->priv->profiles;
}
+/**
+ * gvc_mixer_ui_device_get_supported_profiles:
+ * @device:
+ *
+ * Returns: (transfer none) (element-type Gvc.MixerCardProfile):
+ */
GList*
gvc_mixer_ui_device_get_supported_profiles (GvcMixerUIDevice *device)
{