summaryrefslogtreecommitdiff
path: root/backends/alsa/alsa-toggle.c
diff options
context:
space:
mode:
authorMichal Ratajsky <[email protected]>2014-08-21 17:11:44 +0200
committerMichal Ratajsky <[email protected]>2014-08-21 17:11:44 +0200
commitb6955dd78085d642f10325ec6d929e7421224d74 (patch)
tree13b0ef3242b87ba6343316d30159680e77fc4a26 /backends/alsa/alsa-toggle.c
parent3a99c51bb0bcba28d0d38bbed937c2071d9666b2 (diff)
downloadlibmatemixer-b6955dd78085d642f10325ec6d929e7421224d74.tar.bz2
libmatemixer-b6955dd78085d642f10325ec6d929e7421224d74.tar.xz
Fix memory problems in ALSA and MateMixerToggle and rename toggle option properties
Diffstat (limited to 'backends/alsa/alsa-toggle.c')
-rw-r--r--backends/alsa/alsa-toggle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/alsa/alsa-toggle.c b/backends/alsa/alsa-toggle.c
index a7958c9..c843985 100644
--- a/backends/alsa/alsa-toggle.c
+++ b/backends/alsa/alsa-toggle.c
@@ -92,8 +92,8 @@ alsa_toggle_new (const gchar *name,
"label", label,
"flags", MATE_MIXER_SWITCH_TOGGLE,
"role", role,
- "state-option-on", on,
- "state-option-off", off,
+ "on-state-option", on,
+ "off-state-option", off,
NULL);
toggle->priv->type = type;