| 5623 { |
5623 { |
| 5624 PurpleProtocolClass *proto_class = PURPLE_PROTOCOL_CLASS(klass); |
5624 PurpleProtocolClass *proto_class = PURPLE_PROTOCOL_CLASS(klass); |
| 5625 PurpleAccountUserSplit *split; |
5625 PurpleAccountUserSplit *split; |
| 5626 PurpleAccountOption *opt; |
5626 PurpleAccountOption *opt; |
| 5627 GList *l = NULL; |
5627 GList *l = NULL; |
| 5628 |
|
| 5629 GLogLevelFlags logflags = |
|
| 5630 G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL | G_LOG_FLAG_RECURSION; |
|
| 5631 |
5628 |
| 5632 proto_class->id = PROTOCOL_ID; |
5629 proto_class->id = PROTOCOL_ID; |
| 5633 proto_class->name = PROTOCOL_NAME; |
5630 proto_class->name = PROTOCOL_NAME; |
| 5634 proto_class->options = OPT_PROTO_IM_IMAGE; |
5631 proto_class->options = OPT_PROTO_IM_IMAGE; |
| 5635 |
5632 |
| 5745 |
5742 |
| 5746 |
5743 |
| 5747 static gboolean |
5744 static gboolean |
| 5748 plugin_load(PurplePlugin *plugin, GError **error) |
5745 plugin_load(PurplePlugin *plugin, GError **error) |
| 5749 { |
5746 { |
| |
5747 GLogLevelFlags logflags = |
| |
5748 G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL | G_LOG_FLAG_RECURSION; |
| |
5749 |
| 5750 my_protocol = purple_protocols_add(MW_TYPE_PROTOCOL, error); |
5750 my_protocol = purple_protocols_add(MW_TYPE_PROTOCOL, error); |
| 5751 if (!my_protocol) |
5751 if (!my_protocol) |
| 5752 return FALSE; |
5752 return FALSE; |
| 5753 |
5753 |
| 5754 /* forward all our g_log messages to purple. Generally all the logging |
5754 /* forward all our g_log messages to purple. Generally all the logging |