diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-07-25 16:33:43 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-07-25 16:33:43 -0400 |
commit | c26d3d6662e0e256c0c31faa027da9fd1a6f9296 (patch) | |
tree | 61ca4dd335d83af4ad360f7371aba1819218f370 /transmitters/nice | |
parent | 2474ebad24d038c20d8a746061975634767fe1db (diff) | |
download | farstream-c26d3d6662e0e256c0c31faa027da9fd1a6f9296.tar.gz |
Add G_PARAM_STATIC_STRINGS everywhere
Diffstat (limited to 'transmitters/nice')
-rw-r--r-- | transmitters/nice/fs-nice-agent.c | 10 | ||||
-rw-r--r-- | transmitters/nice/fs-nice-stream-transmitter.c | 14 |
2 files changed, 12 insertions, 12 deletions
diff --git a/transmitters/nice/fs-nice-agent.c b/transmitters/nice/fs-nice-agent.c index 7551a917..42fb4b1b 100644 --- a/transmitters/nice/fs-nice-agent.c +++ b/transmitters/nice/fs-nice-agent.c @@ -158,15 +158,15 @@ fs_nice_agent_class_init (FsNiceAgentClass *klass) "The id of the stream according to libnice", NICE_COMPATIBILITY_DRAFT19, NICE_COMPATIBILITY_LAST, NICE_COMPATIBILITY_DRAFT19, - G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); + G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_PREFERRED_LOCAL_CANDIDATES, g_param_spec_boxed ("preferred-local-candidates", - "The preferred candidates", - "A GList of FsCandidates", - FS_TYPE_CANDIDATE_LIST, - G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE)); + "The preferred candidates", + "A GList of FsCandidates", + FS_TYPE_CANDIDATE_LIST, + G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); } static void diff --git a/transmitters/nice/fs-nice-stream-transmitter.c b/transmitters/nice/fs-nice-stream-transmitter.c index 7099ad18..fb19afd9 100644 --- a/transmitters/nice/fs-nice-stream-transmitter.c +++ b/transmitters/nice/fs-nice-stream-transmitter.c @@ -245,7 +245,7 @@ fs_nice_stream_transmitter_class_init (FsNiceStreamTransmitterClass *klass) "STUN server", "The STUN server used to obtain server-reflexive candidates", NULL, - G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); + G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_STUN_PORT, g_param_spec_uint ( @@ -254,7 +254,7 @@ fs_nice_stream_transmitter_class_init (FsNiceStreamTransmitterClass *klass) "The STUN server used to obtain server-reflexive candidates", 1, 65536, 3478, - G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY)); + G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_CONTROLLING_MODE, g_param_spec_boolean ( @@ -262,7 +262,7 @@ fs_nice_stream_transmitter_class_init (FsNiceStreamTransmitterClass *klass) "ICE controlling mode", "Whether the agent is in controlling mode", TRUE, - G_PARAM_READWRITE | G_PARAM_CONSTRUCT)); + G_PARAM_READWRITE | G_PARAM_CONSTRUCT | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_STREAM_ID, g_param_spec_uint ( @@ -271,7 +271,7 @@ fs_nice_stream_transmitter_class_init (FsNiceStreamTransmitterClass *klass) "The id of the stream according to libnice", 0, G_MAXINT, 0, - G_PARAM_READABLE)); + G_PARAM_READABLE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_COMPATIBILITY_MODE, g_param_spec_uint ( @@ -280,7 +280,7 @@ fs_nice_stream_transmitter_class_init (FsNiceStreamTransmitterClass *klass) "The id of the stream according to libnice", NICE_COMPATIBILITY_DRAFT19, NICE_COMPATIBILITY_LAST, NICE_COMPATIBILITY_DRAFT19, - G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); + G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); /** * FsNiceStreamTransmitter:relay-info: @@ -335,7 +335,7 @@ fs_nice_stream_transmitter_class_init (FsNiceStreamTransmitterClass *klass) "ip/port/username/password/relay-type/component of the TURN servers" " in a GValueArray of GstStructures", NULL, - G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY)); + G_PARAM_WRITABLE | G_PARAM_CONSTRUCT_ONLY | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (gobject_class, PROP_DEBUG, g_param_spec_boolean ( @@ -343,7 +343,7 @@ fs_nice_stream_transmitter_class_init (FsNiceStreamTransmitterClass *klass) "Enable debug messages", "Whether the agent should enable libnice and stun debug messages", FALSE, - G_PARAM_WRITABLE)); + G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS)); } |