[empathy: 12/23] audio-src: set property IDs properly
- From: Jonny Lamb <jonnylamb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 12/23] audio-src: set property IDs properly
- Date: Mon, 1 Aug 2011 12:51:24 +0000 (UTC)
commit dbddd441789b9a5ed3ebde3f870b9337d0c82a47
Author: Jonny Lamb <jonny lamb collabora co uk>
Date: Wed Jul 27 17:49:41 2011 +0100
audio-src: set property IDs properly
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
src/empathy-audio-src.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-audio-src.c b/src/empathy-audio-src.c
index d44298f..7403d9c 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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]