--- a/libpurple/plugins/filectl.c Thu Jun 29 23:14:26 2017 -0500 +++ b/libpurple/plugins/filectl.c Thu Jun 15 13:33:02 2017 -0500 @@ -242,7 +242,7 @@ plugin_load(PurplePlugin *plugin, GError **error) { init_file(); - check = purple_timeout_add_seconds(5, (GSourceFunc)check_file, NULL); + check = g_timeout_add_seconds(5, (GSourceFunc)check_file, NULL); return TRUE; } @@ -250,7 +250,7 @@ static gboolean plugin_unload(PurplePlugin *plugin, GError **error) { - purple_timeout_remove(check); + g_source_remove(check); return TRUE; }