| 44 |
44 |
| 45 enum { |
45 enum { |
| 46 PROP_0, |
46 PROP_0, |
| 47 PROP_LOCAL_CANDIDATES, |
47 PROP_LOCAL_CANDIDATES, |
| 48 PROP_REMOTE_CANDIDATES, |
48 PROP_REMOTE_CANDIDATES, |
| 49 PROP_LAST |
49 N_PROPERTIES, |
| 50 }; |
50 }; |
| 51 static GParamSpec *properties[PROP_LAST]; |
51 static GParamSpec *properties[N_PROPERTIES] = {NULL, }; |
| 52 |
52 |
| 53 G_DEFINE_DYNAMIC_TYPE_EXTENDED( |
53 G_DEFINE_DYNAMIC_TYPE_EXTENDED( |
| 54 JingleRawUdp, |
54 JingleRawUdp, |
| 55 jingle_rawudp, |
55 jingle_rawudp, |
| 56 JINGLE_TYPE_TRANSPORT, |
56 JINGLE_TYPE_TRANSPORT, |
| 316 properties[PROP_REMOTE_CANDIDATES] = g_param_spec_pointer("remote-candidates", |
316 properties[PROP_REMOTE_CANDIDATES] = g_param_spec_pointer("remote-candidates", |
| 317 "Remote candidates", |
317 "Remote candidates", |
| 318 "The remote candidates for this transport.", |
318 "The remote candidates for this transport.", |
| 319 G_PARAM_READABLE | G_PARAM_STATIC_STRINGS); |
319 G_PARAM_READABLE | G_PARAM_STATIC_STRINGS); |
| 320 |
320 |
| 321 g_object_class_install_properties(obj_class, PROP_LAST, properties); |
321 g_object_class_install_properties(obj_class, N_PROPERTIES, properties); |
| 322 } |
322 } |
| 323 |
323 |
| 324 /****************************************************************************** |
324 /****************************************************************************** |
| 325 * JingleRawUdpCandidate Boxed Type |
325 * JingleRawUdpCandidate Boxed Type |
| 326 *****************************************************************************/ |
326 *****************************************************************************/ |