Mercurial > pidgin
annotate plugins/crazychat/camproc.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 | fc464a0abccc |
children |
rev | line source |
---|---|
11218 | 1 /* |
2 * camproc.h | |
3 * basecame | |
4 * | |
5 * Created by CS194 on Mon Apr 26 2004. | |
6 * Copyright (c) 2004 __MyCompanyName__. All rights reserved. | |
7 * | |
8 */ | |
9 | |
10 | |
11 | |
12 //#pragma once | |
13 | |
14 #ifdef __APPLE_CC__ | |
15 #include <Carbon/Carbon.h> | |
16 | |
17 #else | |
18 #include <Carbon.h> | |
19 | |
20 #endif | |
21 | |
22 #include "cc_interface.h" | |
23 #include "filter.h" | |
24 | |
12323
fc464a0abccc
[gaim-migrate @ 14627]
Richard Laager <rlaager@wiktel.com>
parents:
11218
diff
changeset
|
25 void Die(void); |
11218 | 26 OSErr CamProc(struct input_instance *inst, filter_bank *bank); |
27 void QueryCam (void); | |
28 | |
29 |