diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2010-02-23 19:38:10 -0500 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2010-02-23 22:09:52 -0500 |
commit | 35f16c6ede1383f9003f38c7e2608e8dbde67983 (patch) | |
tree | 10e76fb5119dba922e7f925efe2d890b50961d28 | |
parent | d6fb9ed6c592a76efdedae9197d86321b6fcecfa (diff) |
Add property to get the Farsight Stream
-rw-r--r-- | telepathy-farsight/stream.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/telepathy-farsight/stream.c b/telepathy-farsight/stream.c index db46c9e..94db78f 100644 --- a/telepathy-farsight/stream.c +++ b/telepathy-farsight/stream.c @@ -126,6 +126,7 @@ enum PROP_CHANNEL = 1, PROP_FARSIGHT_CONFERENCE, PROP_FARSIGHT_PARTICIPANT, + PROP_FARSIGHT_STREAM, PROP_PROXY, PROP_STREAM_ID, PROP_MEDIA_TYPE, @@ -238,6 +239,9 @@ tf_stream_get_property (GObject *object, case PROP_FARSIGHT_PARTICIPANT: g_value_set_object (value, self->priv->fs_participant); break; + case PROP_FARSIGHT_STREAM: + g_value_set_object (value, self->priv->fs_stream); + break; case PROP_PROXY: g_value_set_object (value, self->priv->stream_handler_proxy); break; @@ -465,6 +469,13 @@ tf_stream_class_init (TfStreamClass *klass) FS_TYPE_PARTICIPANT, G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + g_object_class_install_property (object_class, PROP_FARSIGHT_STREAM, + g_param_spec_object ("farsight-stream", + "Farsight stream", + "The Farsight stream", + FS_TYPE_STREAM, + G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); + g_object_class_install_property (object_class, PROP_PROXY, g_param_spec_object ("proxy", "TpMediaStreamHandler proxy", |