Mercurial > pidgin
view plugins/crazychat/filter.h @ 13480:ff06120eaf1e
[gaim-migrate @ 15856]
Initialize the buddy_icons system before initializing the accounts system.
When the accounts system loads, load_accounts() calls parse_account(), which in turn can call gaim_account_set_buddy_icon().
gaim_account_set_buddy_icon() has several routes by which gaim_buddy_icons_get_cache_dir(), particularly if the buddy icon path points to a file which no longer exists, in gaim_buddy_icons_get_full_path().
If the buddy_icons system hasn't been initialized, gaim_buddy_icons_get_cache_dir() returns NULL, and that's bad.
committer: Tailor Script <tailor@pidgin.im>
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Thu, 09 Mar 2006 15:49:34 +0000 |
parents | ed017b9c532d |
children |
line wrap: on
line source
#ifndef __FILTER_H__ #define __FILTER_H__ struct cc_features; typedef struct filter_bank { float head_size[10]; float head_z_rot[10]; float head_y_rot[10]; float mouth_open[10]; float xfilt[10]; float yfilt[10]; } filter_bank; filter_bank* Filter_Initialize (void); void Filter_Destroy (filter_bank *f); void filter(struct cc_features *instance, filter_bank *f); #endif /* __FILTER_H__ */