summaryrefslogtreecommitdiff
path: root/transmitters/rawudp
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-07-25 16:33:43 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-07-25 16:33:43 -0400
commitc26d3d6662e0e256c0c31faa027da9fd1a6f9296 (patch)
tree61ca4dd335d83af4ad360f7371aba1819218f370 /transmitters/rawudp
parent2474ebad24d038c20d8a746061975634767fe1db (diff)
downloadfarstream-c26d3d6662e0e256c0c31faa027da9fd1a6f9296.tar.gz
Add G_PARAM_STATIC_STRINGS everywhere
Diffstat (limited to 'transmitters/rawudp')
-rw-r--r--transmitters/rawudp/fs-rawudp-component.c30
-rw-r--r--transmitters/rawudp/fs-rawudp-stream-transmitter.c16
2 files changed, 23 insertions, 23 deletions
diff --git a/transmitters/rawudp/fs-rawudp-component.c b/transmitters/rawudp/fs-rawudp-component.c
index 04461996..7338c61c 100644
--- a/transmitters/rawudp/fs-rawudp-component.c
+++ b/transmitters/rawudp/fs-rawudp-component.c
@@ -289,7 +289,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"The component id",
"The id of this component",
1, G_MAXUINT, 1,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
@@ -298,7 +298,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"Whether to send from this transmitter",
"If set to FALSE, the transmitter will stop sending to this person",
TRUE,
- G_PARAM_READWRITE));
+ G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_IP,
@@ -306,7 +306,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"The local IP of this component",
"The IPv4 address as a x.x.x.x string",
NULL,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_PORT,
@@ -314,7 +314,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"The local port requested for this component",
"The IPv4 UDP port",
1, 65535, 7078,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
@@ -323,7 +323,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"The IP address of the STUN server",
"The IPv4 address of the STUN server as a x.x.x.x string",
NULL,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_STUN_PORT,
@@ -331,7 +331,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"The port of the STUN server",
"The IPv4 UDP port of the STUN server as a ",
1, 65535, 3478,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_STUN_TIMEOUT,
@@ -339,7 +339,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"The timeout for the STUN reply",
"How long to wait for for the STUN reply (in seconds) before giving up",
1, MAX_STUN_TIMEOUT, DEFAULT_STUN_TIMEOUT,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
@@ -348,7 +348,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"The transmitter object",
"The rawudp transmitter object",
FS_TYPE_RAWUDP_TRANSMITTER,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
@@ -357,7 +357,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"A Forced candidate",
"This candidate is built from a user preference",
FS_TYPE_CANDIDATE,
- G_PARAM_WRITABLE));
+ G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_ASSOCIATE_ON_SOURCE,
@@ -366,7 +366,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"Whether to associate incoming data stream based on the"
" source address",
TRUE,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
#ifdef HAVE_GUPNP
g_object_class_install_property (gobject_class,
@@ -375,7 +375,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"Try to map ports using UPnP",
"Tries to map ports using UPnP if enabled",
TRUE,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_UPNP_DISCOVERY,
@@ -383,7 +383,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"Try to use UPnP to find the external IP address",
"Tries to discovery the external IP with UPnP if stun fails",
TRUE,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_UPNP_MAPPING_TIMEOUT,
@@ -392,7 +392,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"The UPnP port mappings expire after this period if the app has"
" crashed (in seconds)",
0, G_MAXUINT32, DEFAULT_UPNP_MAPPING_TIMEOUT,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_UPNP_DISCOVERY_TIMEOUT,
@@ -401,7 +401,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"After this period, UPnP discovery is considered to have failed"
" and the local IP is returned",
0, G_MAXUINT32, DEFAULT_UPNP_DISCOVERY_TIMEOUT,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_UPNP_IGD,
@@ -409,7 +409,7 @@ fs_rawudp_component_class_init (FsRawUdpComponentClass *klass)
"The GUPnPSimpleIgdThread object",
"This is the GUPnP IGD abstraction object",
GUPNP_TYPE_SIMPLE_IGD_THREAD,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS));
#endif
/**
diff --git a/transmitters/rawudp/fs-rawudp-stream-transmitter.c b/transmitters/rawudp/fs-rawudp-stream-transmitter.c
index 7dbbb910..91190549 100644
--- a/transmitters/rawudp/fs-rawudp-stream-transmitter.c
+++ b/transmitters/rawudp/fs-rawudp-stream-transmitter.c
@@ -265,7 +265,7 @@ fs_rawudp_stream_transmitter_class_init (FsRawUdpStreamTransmitterClass *klass)
"The IP address of the STUN server",
"The IPv4 address of the STUN server as a x.x.x.x string",
NULL,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_STUN_PORT,
@@ -273,7 +273,7 @@ fs_rawudp_stream_transmitter_class_init (FsRawUdpStreamTransmitterClass *klass)
"The port of the STUN server",
"The IPv4 UDP port of the STUN server as a ",
1, 65535, 3478,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_STUN_TIMEOUT,
@@ -281,7 +281,7 @@ fs_rawudp_stream_transmitter_class_init (FsRawUdpStreamTransmitterClass *klass)
"The timeout for the STUN reply",
"How long to wait for for the STUN reply (in seconds) before giving up",
1, MAX_STUN_TIMEOUT, DEFAULT_STUN_TIMEOUT,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_UPNP_MAPPING,
@@ -295,7 +295,7 @@ fs_rawudp_stream_transmitter_class_init (FsRawUdpStreamTransmitterClass *klass)
"Tries to map ports using UPnP if enabled",
FALSE,
#endif
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_UPNP_DISCOVERY,
@@ -310,7 +310,7 @@ fs_rawudp_stream_transmitter_class_init (FsRawUdpStreamTransmitterClass *klass)
FALSE,
#endif
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_UPNP_MAPPING_TIMEOUT,
@@ -319,7 +319,7 @@ fs_rawudp_stream_transmitter_class_init (FsRawUdpStreamTransmitterClass *klass)
"The UPnP port mappings expire after this period if the app has"
" crashed (in seconds)",
0, G_MAXUINT32, DEFAULT_UPNP_MAPPING_TIMEOUT,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_UPNP_DISCOVERY_TIMEOUT,
@@ -328,7 +328,7 @@ fs_rawudp_stream_transmitter_class_init (FsRawUdpStreamTransmitterClass *klass)
"After this period, UPnP discovery is considered to have failed"
" and the local IP is returned",
0, G_MAXUINT32, DEFAULT_UPNP_DISCOVERY_TIMEOUT,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
g_object_class_install_property (gobject_class,
PROP_UPNP_REQUEST_TIMEOUT,
@@ -336,7 +336,7 @@ fs_rawudp_stream_transmitter_class_init (FsRawUdpStreamTransmitterClass *klass)
"Timeout after which UPnP requests timeout",
"After this delay, UPnP requests fails",
1, 600, DEFAULT_UPNP_REQUEST_TIMEOUT,
- G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE));
+ G_PARAM_CONSTRUCT_ONLY | G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
gobject_class->dispose = fs_rawudp_stream_transmitter_dispose;
gobject_class->finalize = fs_rawudp_stream_transmitter_finalize;