diff options
author | Michal Ratajsky <[email protected]> | 2014-06-07 02:04:55 +0200 |
---|---|---|
committer | Michal Ratajsky <[email protected]> | 2014-06-07 02:04:55 +0200 |
commit | 7cf09a2b40a507caf2bea0c54af00da84a8f88af (patch) | |
tree | 2c70c82c8c2aa2fdd7aace28c7bff2dbfb4a75a9 /libmatemixer/matemixer-device.c | |
parent | d2c3a4be634018a2b63f4c80a26f9024a0d3de47 (diff) | |
download | libmatemixer-7cf09a2b40a507caf2bea0c54af00da84a8f88af.tar.bz2 libmatemixer-7cf09a2b40a507caf2bea0c54af00da84a8f88af.tar.xz |
Fix properties
Diffstat (limited to 'libmatemixer/matemixer-device.c')
-rw-r--r-- | libmatemixer/matemixer-device.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libmatemixer/matemixer-device.c b/libmatemixer/matemixer-device.c index d4a7c39..cd5a47c 100644 --- a/libmatemixer/matemixer-device.c +++ b/libmatemixer/matemixer-device.c @@ -57,7 +57,7 @@ mate_mixer_device_default_init (MateMixerDeviceInterface *iface) g_object_interface_install_property (iface, g_param_spec_object ("active-profile", "Active profile", - "Name of the active profile", + "The currently active profile of the sound device", MATE_MIXER_TYPE_PROFILE, G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); @@ -169,17 +169,17 @@ mate_mixer_device_get_active_profile (MateMixerDevice *device) } gboolean -mate_mixer_device_set_active_profile (MateMixerDevice *device, const gchar *name) +mate_mixer_device_set_active_profile (MateMixerDevice *device, const gchar *profile_name) { MateMixerDeviceInterface *iface; g_return_val_if_fail (MATE_MIXER_IS_DEVICE (device), FALSE); - g_return_val_if_fail (name != NULL, FALSE); + g_return_val_if_fail (profile_name != NULL, FALSE); iface = MATE_MIXER_DEVICE_GET_INTERFACE (device); if (iface->set_active_profile) - return iface->set_active_profile (device, name); + return iface->set_active_profile (device, profile_name); return FALSE; } |