Mercurial > pidgin
annotate libpurple/dbus-define-api.h @ 29984:6d96bfe048bc
If we get an error SNAC on the ICBM family and it's missing buddy name then
don't fallthrough to the default error handler in misc.c. This was causing
purple_parse_msgerr() in oscar.c to get called with different va_args than
it was expecting, which caused a crash. Specifically when trying to fetch
the ICQ x-status of an offline buddy.
Fixes #11863. This is nosnilmot's patch, I believe. I had no part in it,
other than verifying that I do believe it'll fix the crash.
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 20 May 2010 01:39:25 +0000 |
parents | 32c366eeeb99 |
children |
rev | line source |
---|---|
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 #error "This is file is not a valid C code" |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
2 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
3 /* This file contains some of the macros from other header files as |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
4 function declarations. This does not make sense in C, but it |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
5 provides type information for the dbus-analyze-functions.py |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
6 program, which makes these macros callable by DBUS. */ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
7 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
8 /* blist.h */ |
15822 | 9 gboolean PURPLE_BLIST_NODE_IS_CHAT(PurpleBlistNode *node); |
10 gboolean PURPLE_BLIST_NODE_IS_BUDDY(PurpleBlistNode *node); | |
11 gboolean PURPLE_BLIST_NODE_IS_CONTACT(PurpleBlistNode *node); | |
12 gboolean PURPLE_BLIST_NODE_IS_GROUP(PurpleBlistNode *node); | |
13 gboolean PURPLE_BUDDY_IS_ONLINE(PurpleBuddy *buddy); | |
14 gboolean PURPLE_BLIST_NODE_HAS_FLAG(PurpleBlistNode *node, int flags); | |
15 gboolean PURPLE_BLIST_NODE_SHOULD_SAVE(PurpleBlistNode *node); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
16 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
17 /* connection.h */ |
15822 | 18 gboolean PURPLE_CONNECTION_IS_CONNECTED(PurpleConnection *connection); |
19 gboolean PURPLE_CONNECTION_IS_VALID(PurpleConnection *connection); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
20 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
21 /* conversation.h */ |
15822 | 22 PurpleConvIm *PURPLE_CONV_IM(const PurpleConversation *conversation); |
23 PurpleConvIm *PURPLE_CONV_CHAT(const PurpleConversation *conversation); | |
15373
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
24 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
25 |