libpurple/protocols/sametime/sametime.c

branch
soc.2013.gobjectification.plugins
changeset 36660
ddb40f691d20
parent 36653
4084c34c051d
child 36677
081733748bbc
equal deleted inserted replaced
36659:fbaa6f248ebc 36660:ddb40f691d20
5617 } 5617 }
5618 } 5618 }
5619 5619
5620 5620
5621 static void 5621 static void
5622 mw_protocol_base_init(SametimeProtocolClass *klass) 5622 mw_protocol_base_init(mwProtocolClass *klass)
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;
5683 mw_log_handler, NULL); 5683 mw_log_handler, NULL);
5684 } 5684 }
5685 5685
5686 5686
5687 static void 5687 static void
5688 mw_protocol_base_finalize(SametimeProtocolClass *klass) 5688 mw_protocol_base_finalize(mwProtocolClass *klass)
5689 { 5689 {
5690 g_log_remove_handler(G_LOG_DOMAIN, log_handler[0]); 5690 g_log_remove_handler(G_LOG_DOMAIN, log_handler[0]);
5691 g_log_remove_handler("meanwhile", log_handler[1]); 5691 g_log_remove_handler("meanwhile", log_handler[1]);
5692 } 5692 }
5693 5693
5781 5781
5782 return TRUE; 5782 return TRUE;
5783 } 5783 }
5784 5784
5785 static PurplePlugin *my_plugin; 5785 static PurplePlugin *my_plugin;
5786 PURPLE_PROTOCOL_DEFINE(my_plugin, SametimeProtocol, mw_protocol); 5786 PURPLE_PROTOCOL_DEFINE(my_plugin, mwProtocol, mw_protocol);
5787 PURPLE_PLUGIN_INIT_VAL(my_plugin, sametime, plugin_query, plugin_load, 5787 PURPLE_PLUGIN_INIT_VAL(my_plugin, sametime, plugin_query, plugin_load,
5788 plugin_unload); 5788 plugin_unload);
5789 /* The End. */ 5789 /* The End. */
5790 5790

mercurial