Thu, 30 Oct 2008 22:40:49 +0000
Build everything with the *_DISABLE_DEPRECATED flags set. This allows us
to detect when we're still using deprecated functions internally (and by
extension, when we've deprecated something we shouldn't have). In the
course of developing this changeset, I fixed a few such cases.
Given that the plan is to switch from PURPLE_HIDE_STRUCTS to
PURPLE_DISABLE_DEPRECATED as each struct is fully dealt with, this will
also ensure we have no regressions on the struct hiding work.
Deprecated functions are still available to the respective .c file, to
avoid missing prototype errors. Also, Perl and DBus undef the
*_DISABLE_DEPRECATED defines as appropriate so that deprecated functions
will still be exported to Perl plugins and via DBus. (Otherwise, we'd
be breaking backwards compatibility.)
| 11118 | 1 | #include "module.h" |
| 2 | ||
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
3 | MODULE = Purple::Buddy::Icon PACKAGE = Purple::Buddy::Icon PREFIX = purple_buddy_icon_ |
| 11118 | 4 | PROTOTYPES: ENABLE |
| 5 | ||
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
6 | Purple::Buddy::Icon |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
7 | purple_buddy_icon_ref(icon) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
8 | Purple::Buddy::Icon icon |
| 11118 | 9 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
10 | Purple::Buddy::Icon |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
11 | purple_buddy_icon_unref(icon) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
12 | Purple::Buddy::Icon icon |
| 11118 | 13 | |
| 14 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
15 | purple_buddy_icon_update(icon) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
16 | Purple::Buddy::Icon icon |
| 11118 | 17 | |
| 18 | void | |
|
16546
291c5f103267
Make sure you back up your .gaim directoy. And fix a compile error in perl. I think it's the right way.
Sean Egan <seanegan@pidgin.im>
parents:
16421
diff
changeset
|
19 | purple_buddy_icon_set_data(icon, data, len, checksum) |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
20 | Purple::Buddy::Icon icon |
|
16421
f9218e1c4703
The buddy icon code as it stands, with lots of bugs and design flaws.
Richard Laager <rlaager@pidgin.im>
parents:
15894
diff
changeset
|
21 | void * data |
|
f9218e1c4703
The buddy icon code as it stands, with lots of bugs and design flaws.
Richard Laager <rlaager@pidgin.im>
parents:
15894
diff
changeset
|
22 | size_t len |
|
16546
291c5f103267
Make sure you back up your .gaim directoy. And fix a compile error in perl. I think it's the right way.
Sean Egan <seanegan@pidgin.im>
parents:
16421
diff
changeset
|
23 | char *checksum |
| 11118 | 24 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
25 | Purple::Account |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
26 | purple_buddy_icon_get_account(icon) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
27 | Purple::Buddy::Icon icon |
| 11118 | 28 | |
| 29 | const char * | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
30 | purple_buddy_icon_get_username(icon) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
31 | Purple::Buddy::Icon icon |
| 11118 | 32 | |
| 11130 | 33 | const void * |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
34 | purple_buddy_icon_get_data(icon, len) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
35 | Purple::Buddy::Icon icon |
| 11118 | 36 | size_t &len |
| 37 | ||
| 38 | const char * | |
|
16546
291c5f103267
Make sure you back up your .gaim directoy. And fix a compile error in perl. I think it's the right way.
Sean Egan <seanegan@pidgin.im>
parents:
16421
diff
changeset
|
39 | purple_buddy_icon_get_extension(icon) |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
40 | Purple::Buddy::Icon icon |
| 11118 | 41 | |
| 42 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
43 | purple_buddy_icon_get_scale_size(spec, width, height) |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
44 | Purple::Buddy::Icon::Spec spec |
| 11118 | 45 | int *width |
| 46 | int *height | |
| 47 | ||
|
23983
586866581434
Remove a bunch of *_init() and *_uninit() functions that don't make sense for
Daniel Atallah <datallah@pidgin.im>
parents:
18933
diff
changeset
|
48 | gchar_own * |
|
18933
21e93a672865
More perl bindings from Zsombor Welker, fixes #1830
Sean Egan <seanegan@pidgin.im>
parents:
16546
diff
changeset
|
49 | purple_buddy_icon_get_full_path(icon); |
|
21e93a672865
More perl bindings from Zsombor Welker, fixes #1830
Sean Egan <seanegan@pidgin.im>
parents:
16546
diff
changeset
|
50 | Purple::Buddy::Icon icon |
|
21e93a672865
More perl bindings from Zsombor Welker, fixes #1830
Sean Egan <seanegan@pidgin.im>
parents:
16546
diff
changeset
|
51 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
52 | MODULE = Purple::Buddy::Icon PACKAGE = Purple::Buddy::Icons PREFIX = purple_buddy_icons_ |
| 11118 | 53 | PROTOTYPES: ENABLE |
| 54 | ||
| 55 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
56 | purple_buddy_icons_set_caching(caching) |
| 11118 | 57 | gboolean caching |
| 58 | ||
| 12773 | 59 | gboolean |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
60 | purple_buddy_icons_is_caching() |
| 11118 | 61 | |
| 62 | void | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
63 | purple_buddy_icons_set_cache_dir(cache_dir) |
| 11118 | 64 | const char *cache_dir |
| 65 | ||
| 66 | const char * | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
67 | purple_buddy_icons_get_cache_dir(); |
| 11118 | 68 | |
|
15894
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
69 | Purple::Handle |
|
765ec644ac47
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
Daniel Atallah <datallah@pidgin.im>
parents:
15435
diff
changeset
|
70 | purple_buddy_icons_get_handle(); |
| 11118 | 71 |