diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-02-24 21:46:18 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2014-02-26 17:32:36 +0800 |
commit | 6a1fee5ce2917c193e82288ddc9788d1192fbb84 (patch) | |
tree | 777c00b61abf8923b77c867c400d53b4a3b47abc | |
parent | 1fd36e1e67a9c6cc3b0be6250809424045e56d20 (diff) | |
download | gsoc2013-empathy-6a1fee5ce2917c193e82288ddc9788d1192fbb84.tar gsoc2013-empathy-6a1fee5ce2917c193e82288ddc9788d1192fbb84.tar.gz gsoc2013-empathy-6a1fee5ce2917c193e82288ddc9788d1192fbb84.tar.bz2 gsoc2013-empathy-6a1fee5ce2917c193e82288ddc9788d1192fbb84.tar.lz gsoc2013-empathy-6a1fee5ce2917c193e82288ddc9788d1192fbb84.tar.xz gsoc2013-empathy-6a1fee5ce2917c193e82288ddc9788d1192fbb84.tar.zst gsoc2013-empathy-6a1fee5ce2917c193e82288ddc9788d1192fbb84.zip |
call-handler: remove 'initial-audio' prop
It was always set to TRUE anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=725070
-rw-r--r-- | 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 9d8da00ae..4351dedcb 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, |