diff options
author | Gary Kramlich <grim@reaperworld.com> | 2021-05-18 02:04:53 -0500 |
---|---|---|
committer | Gary Kramlich <grim@reaperworld.com> | 2021-05-18 02:04:53 -0500 |
commit | e1d343b9543787cfc900dd9762e2061b343c02f2 (patch) | |
tree | 03b034fe406ca9d9f0633eadacf83e42e13da2f6 /libpurple/conversations.h | |
parent | 784e1683a89d43de6a5ae4047ead6c0f8d8f9229 (diff) | |
download | pidgin-e1d343b9543787cfc900dd9762e2061b343c02f2.tar.gz |
Update purple_conversations_find_* to return PurpleConversations instead of subclasses
Testing Done:
Tested a bonjour im and irc chat.
Reviewed at https://reviews.imfreedom.org/r/646/
Diffstat (limited to 'libpurple/conversations.h')
-rw-r--r-- | libpurple/conversations.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libpurple/conversations.h b/libpurple/conversations.h index 9df58c213f..5f0d15245d 100644 --- a/libpurple/conversations.h +++ b/libpurple/conversations.h @@ -33,7 +33,7 @@ * @see_also: <link linkend="chapter-signals-conversation">Conversation signals</link> */ -#include "purplechatconversation.h" +#include <purpleconversation.h> #include "server.h" G_BEGIN_DECLS @@ -108,8 +108,7 @@ PurpleConversation *purple_conversations_find_with_account(const char *name, * * Returns: (transfer none): The conversation if found, or %NULL otherwise. */ -PurpleIMConversation *purple_conversations_find_im_with_account(const char *name, - PurpleAccount *account); +PurpleConversation *purple_conversations_find_im_with_account(const char *name, PurpleAccount *account); /** * purple_conversations_find_chat_with_account: @@ -120,8 +119,7 @@ PurpleIMConversation *purple_conversations_find_im_with_account(const char *name * * Returns: (transfer none): The conversation if found, or %NULL otherwise. */ -PurpleChatConversation *purple_conversations_find_chat_with_account(const char *name, - PurpleAccount *account); +PurpleConversation *purple_conversations_find_chat_with_account(const char *name, PurpleAccount *account); /** * purple_conversations_find_chat: @@ -132,7 +130,7 @@ PurpleChatConversation *purple_conversations_find_chat_with_account(const char * * * Returns: (transfer none): The chat conversation. */ -PurpleChatConversation *purple_conversations_find_chat(const PurpleConnection *gc, int id); +PurpleConversation *purple_conversations_find_chat(const PurpleConnection *gc, int id); /** * purple_conversations_set_ui_ops: |