| 102 |
102 |
| 103 candidate->rem_known = FALSE; |
103 candidate->rem_known = FALSE; |
| 104 return candidate; |
104 return candidate; |
| 105 } |
105 } |
| 106 |
106 |
| 107 GType |
107 PURPLE_DEFINE_TYPE(JingleRawUdp, jingle_rawudp, JINGLE_TYPE_TRANSPORT); |
| 108 jingle_rawudp_get_type() |
|
| 109 { |
|
| 110 static GType type = 0; |
|
| 111 |
|
| 112 if (type == 0) { |
|
| 113 static const GTypeInfo info = { |
|
| 114 sizeof(JingleRawUdpClass), |
|
| 115 NULL, |
|
| 116 NULL, |
|
| 117 (GClassInitFunc) jingle_rawudp_class_init, |
|
| 118 NULL, |
|
| 119 NULL, |
|
| 120 sizeof(JingleRawUdp), |
|
| 121 0, |
|
| 122 (GInstanceInitFunc) jingle_rawudp_init, |
|
| 123 NULL |
|
| 124 }; |
|
| 125 type = g_type_register_static(JINGLE_TYPE_TRANSPORT, "JingleRawUdp", &info, 0); |
|
| 126 } |
|
| 127 return type; |
|
| 128 } |
|
| 129 |
108 |
| 130 static void |
109 static void |
| 131 jingle_rawudp_class_init (JingleRawUdpClass *klass) |
110 jingle_rawudp_class_init (JingleRawUdpClass *klass) |
| 132 { |
111 { |
| 133 GObjectClass *gobject_class = (GObjectClass*)klass; |
112 GObjectClass *gobject_class = (GObjectClass*)klass; |