diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2015-01-28 22:08:04 -0500 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2015-01-28 22:08:04 -0500 |
commit | e7857ade23f9771d250e4c3be772a1dcdc0584d5 (patch) | |
tree | 4fa9c08274396338ab8b3f7679f75b8c6fc1cd2b /farstream | |
parent | b788ca15fae591a917de0ed77eeb632a919f7325 (diff) | |
download | farstream-e7857ade23f9771d250e4c3be772a1dcdc0584d5.tar.gz |
Fix GIR annotations to remove deprecated styles
Diffstat (limited to 'farstream')
-rw-r--r-- | farstream/fs-codec.c | 2 | ||||
-rw-r--r-- | farstream/fs-session.c | 15 | ||||
-rw-r--r-- | farstream/fs-stream.c | 15 |
3 files changed, 7 insertions, 25 deletions
diff --git a/farstream/fs-codec.c b/farstream/fs-codec.c index 3ee60f4a..0b4e41f9 100644 --- a/farstream/fs-codec.c +++ b/farstream/fs-codec.c @@ -763,7 +763,7 @@ fs_codec_remove_optional_parameter (FsCodec *codec, * Finds the #FsCodecParameter in the #FsCodec that has the requested name * and, if not %NULL, the requested value * - * Returns: (transfer none) the #FsCodecParameter from the #FsCodec or %NULL + * Returns: (transfer none): the #FsCodecParameter from the #FsCodec or %NULL */ FsCodecParameter * diff --git a/farstream/fs-session.c b/farstream/fs-session.c index 8ff6c117..964e944b 100644 --- a/farstream/fs-session.c +++ b/farstream/fs-session.c @@ -270,7 +270,7 @@ fs_session_class_init (FsSessionClass *klass) G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); /** - * FsSession:codec-preferences: + * FsSession:codec-preferences: (type GLib.List(FsCodec)) (transfer full) * * This is the current preferences list for the local codecs. It is * set by the user to specify the codec options and priorities. The user may @@ -282,9 +282,6 @@ fs_session_class_init (FsSessionClass *klass) * or %FS_CODEC_ID_ANY. If the encoding name is "reserve-pt", then the * payload type of the codec will be "reserved" and not be used by any * dynamically assigned payload type. - * - * Type: GLib.List(FsCodec) - * Transfer: full */ g_object_class_install_property (gobject_class, PROP_CODEC_PREFERENCES, @@ -296,7 +293,7 @@ fs_session_class_init (FsSessionClass *klass) G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); /** - * FsSession:codecs: + * FsSession:codecs: (type GLib.List(FsCodec)) (transfer full) * * This is the list of codecs used for this session. It will include the * codecs and payload type used to receive media on this session. It will @@ -315,9 +312,6 @@ fs_session_class_init (FsSessionClass *klass) * * It is a #GList of #FsCodec. User must free this codec list using * fs_codec_list_destroy() when done. - * - * Type: GLib.List(FsCodec) - * Transfer: full */ g_object_class_install_property (gobject_class, PROP_CODECS, @@ -328,7 +322,7 @@ fs_session_class_init (FsSessionClass *klass) G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); /** - * FsSession:codecs-without-config: + * FsSession:codecs-without-config: (type GLib.List(FsCodec)) (transfer full) * * This is the same list of codecs as #FsSession:codecs without * the configuration information that describes the data sent. It is suitable @@ -346,9 +340,6 @@ fs_session_class_init (FsSessionClass *klass) * * It is a #GList of #FsCodec. User must free this codec list using * fs_codec_list_destroy() when done. - * - * Type: GLib.List(FsCodec) - * Transfer: full */ g_object_class_install_property (gobject_class, PROP_CODECS_WITHOUT_CONFIG, diff --git a/farstream/fs-stream.c b/farstream/fs-stream.c index 1319a860..481ac596 100644 --- a/farstream/fs-stream.c +++ b/farstream/fs-stream.c @@ -179,14 +179,11 @@ fs_stream_class_init (FsStreamClass *klass) /** - * FsStream:remote-codecs: + * FsStream:remote-codecs: (type GLib.List(FsCodec)) (transfer full) * * This is the list of remote codecs for this stream. They must be set by the * user as soon as they are known using fs_stream_set_remote_codecs() * (generally through external signaling). It is a #GList of #FsCodec. - * - * Type: GLib.List(FsCodec) - * Transfer: full */ g_object_class_install_property (gobject_class, PROP_REMOTE_CODECS, @@ -197,16 +194,13 @@ fs_stream_class_init (FsStreamClass *klass) G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); /** - * FsStream:negotiated-codecs: + * FsStream:negotiated-codecs: (type GLib.List(FsCodec)) (transfer full) * * This is the list of negotiatied codecs, it is the same list as the list * of #FsCodec from the parent #FsSession, except that the codec config data * has been replaced with the data from the remote codecs for this stream. * This is the list of #FsCodec used to receive data from this stream. * It is a #GList of #FsCodec. - * - * Type: GLib.List(FsCodec) - * Transfer: full */ g_object_class_install_property (gobject_class, PROP_NEGOTIATED_CODECS, @@ -217,7 +211,7 @@ fs_stream_class_init (FsStreamClass *klass) G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); /** - * FsStream:current-recv-codecs: + * FsStream:current-recv-codecs: (type GLib.List(FsCodec)) (transfer full) * * This is the list of codecs that have been received by this stream. * The user must free the list if fs_codec_list_destroy(). @@ -227,9 +221,6 @@ fs_stream_class_init (FsStreamClass *klass) * only if that codec was not previously received in this stream, but it can * also be emitted if the pad already exists, but the source material that * will come to it is different. - * - * Type: GLib.List(FsCodec) - * Transfer: full */ g_object_class_install_property (gobject_class, PROP_CURRENT_RECV_CODECS, |