| 258 /* We need to hold a reference on the protocol as typically we will be |
258 /* We need to hold a reference on the protocol as typically we will be |
| 259 * holding the only reference on the protocol when this is called and we |
259 * holding the only reference on the protocol when this is called and we |
| 260 * will need to pass it to the signal emission after it's removed from the |
260 * will need to pass it to the signal emission after it's removed from the |
| 261 * hash table that'll unref it. |
261 * hash table that'll unref it. |
| 262 */ |
262 */ |
| 263 g_object_ref(G_OBJECT(protocol)); |
263 g_object_ref(protocol); |
| 264 |
264 |
| 265 id = purple_protocol_get_id(protocol); |
265 id = purple_protocol_get_id(protocol); |
| 266 |
266 |
| 267 if(g_hash_table_remove(manager->protocols, id)) { |
267 if(g_hash_table_remove(manager->protocols, id)) { |
| 268 guint position; |
268 guint position; |