diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2010-02-23 20:11:38 -0500 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2010-02-23 22:09:52 -0500 |
commit | b46186bc4c21e58b34d30e115914bb4bc12e3af0 (patch) | |
tree | 3aeca90a2bac5c314cfaab769d7d39b716124f5d | |
parent | 35f16c6ede1383f9003f38c7e2608e8dbde67983 (diff) |
Add property to get the Farsight Session
-rw-r--r-- | telepathy-farsight/stream.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/telepathy-farsight/stream.c b/telepathy-farsight/stream.c index 94db78f..ae9c40a 100644 --- a/telepathy-farsight/stream.c +++ b/telepathy-farsight/stream.c @@ -125,8 +125,9 @@ enum { PROP_CHANNEL = 1, PROP_FARSIGHT_CONFERENCE, - PROP_FARSIGHT_PARTICIPANT, + PROP_FARSIGHT_SESSION, PROP_FARSIGHT_STREAM, + PROP_FARSIGHT_PARTICIPANT, PROP_PROXY, PROP_STREAM_ID, PROP_MEDIA_TYPE, @@ -239,6 +240,9 @@ tf_stream_get_property (GObject *object, case PROP_FARSIGHT_PARTICIPANT: g_value_set_object (value, self->priv->fs_participant); break; + case PROP_FARSIGHT_SESSION: + g_value_set_object (value, self->priv->fs_session); + break; case PROP_FARSIGHT_STREAM: g_value_set_object (value, self->priv->fs_stream); break; @@ -469,6 +473,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_SESSION, + g_param_spec_object ("farsight-session", + "Farsight session", + "The Farsight session", + FS_TYPE_SESSION, + G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); + g_object_class_install_property (object_class, PROP_FARSIGHT_STREAM, g_param_spec_object ("farsight-stream", "Farsight stream", |