aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2011-07-28 00:49:41 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2011-07-29 18:02:07 +0800
commitdbddd441789b9a5ed3ebde3f870b9337d0c82a47 (patch)
treea06984be31d2be9db0df30b54f2db5953ad71dc3
parentd9c603695a6c04b2eae543e9339014873ac18812 (diff)
downloadgsoc2013-empathy-dbddd441789b9a5ed3ebde3f870b9337d0c82a47.tar
gsoc2013-empathy-dbddd441789b9a5ed3ebde3f870b9337d0c82a47.tar.gz
gsoc2013-empathy-dbddd441789b9a5ed3ebde3f870b9337d0c82a47.tar.bz2
gsoc2013-empathy-dbddd441789b9a5ed3ebde3f870b9337d0c82a47.tar.lz
gsoc2013-empathy-dbddd441789b9a5ed3ebde3f870b9337d0c82a47.tar.xz
gsoc2013-empathy-dbddd441789b9a5ed3ebde3f870b9337d0c82a47.tar.zst
gsoc2013-empathy-dbddd441789b9a5ed3ebde3f870b9337d0c82a47.zip
audio-src: set property IDs properly
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--src/empathy-audio-src.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/empathy-audio-src.c b/src/empathy-audio-src.c
index d44298fd8..7403d9cf4 100644
--- a/src/empathy-audio-src.c
+++ b/src/empathy-audio-src.c
@@ -497,7 +497,7 @@ empathy_audio_src_class_init (EmpathyGstAudioSrcClass
param_spec = g_param_spec_double ("peak-level", "peak level", "peak level",
-G_MAXDOUBLE, G_MAXDOUBLE, 0,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
- g_object_class_install_property (object_class, PROP_VOLUME, param_spec);
+ g_object_class_install_property (object_class, PROP_PEAK_LEVEL, param_spec);
param_spec = g_param_spec_uint ("microphone", "microphone", "microphone",
0, G_MAXUINT, G_MAXUINT,
@@ -515,7 +515,7 @@ empathy_audio_src_class_init (EmpathyGstAudioSrcClass
param_spec = g_param_spec_double ("rms-level", "RMS level", "RMS level",
-G_MAXDOUBLE, G_MAXDOUBLE, 0,
G_PARAM_READABLE | G_PARAM_STATIC_STRINGS);
- g_object_class_install_property (object_class, PROP_VOLUME, param_spec);
+ g_object_class_install_property (object_class, PROP_RMS_LEVEL, param_spec);
signals[RMS_LEVEL_CHANGED] = g_signal_new ("rms-level-changed",