[empathy] call-handler: remove 'initial-audio' prop
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] call-handler: remove 'initial-audio' prop
- Date: Wed, 26 Feb 2014 09:33:09 +0000 (UTC)
commit 6a1fee5ce2917c193e82288ddc9788d1192fbb84
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Mon Feb 24 14:46:18 2014 +0100
call-handler: remove 'initial-audio' prop
It was always set to TRUE anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=725070
src/empathy-call-handler.c | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/src/empathy-call-handler.c b/src/empathy-call-handler.c
index 9d8da00..4351ded 100644
--- a/src/empathy-call-handler.c
+++ b/src/empathy-call-handler.c
@@ -52,7 +52,6 @@ enum {
PROP_CALL_CHANNEL = 1,
PROP_GST_BUS,
PROP_CONTACT,
- PROP_INITIAL_AUDIO,
PROP_INITIAL_VIDEO,
PROP_SEND_AUDIO_CODEC,
PROP_SEND_VIDEO_CODEC,
@@ -71,7 +70,6 @@ struct _EmpathyCallHandlerPriv {
EmpathyContact *contact;
TfChannel *tfchannel;
- gboolean initial_audio;
gboolean initial_video;
FsCodec *send_audio_codec;
@@ -216,9 +214,6 @@ empathy_call_handler_set_property (GObject *object,
tp_g_signal_connect_object (priv->call, "invalidated",
G_CALLBACK (on_call_invalidated_cb), object, 0);
break;
- case PROP_INITIAL_AUDIO:
- priv->initial_audio = g_value_get_boolean (value);
- break;
case PROP_INITIAL_VIDEO:
priv->initial_video = g_value_get_boolean (value);
break;
@@ -241,9 +236,6 @@ empathy_call_handler_get_property (GObject *object,
case PROP_CALL_CHANNEL:
g_value_set_object (value, priv->call);
break;
- case PROP_INITIAL_AUDIO:
- g_value_set_boolean (value, priv->initial_audio);
- break;
case PROP_INITIAL_VIDEO:
g_value_set_boolean (value, priv->initial_video);
break;
@@ -302,13 +294,6 @@ empathy_call_handler_class_init (EmpathyCallHandlerClass *klass)
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
g_object_class_install_property (object_class, PROP_CALL_CHANNEL, param_spec);
- param_spec = g_param_spec_boolean ("initial-audio",
- "initial-audio", "Whether the call should start with audio",
- TRUE,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS);
- g_object_class_install_property (object_class, PROP_INITIAL_AUDIO,
- param_spec);
-
param_spec = g_param_spec_boolean ("initial-video",
"initial-video", "Whether the call should start with video",
FALSE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]