summaryrefslogtreecommitdiff
path: root/libpurple/purpleimconversation.h
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2022-12-14 03:36:52 -0600
committerGary Kramlich <grim@reaperworld.com>2022-12-14 03:36:52 -0600
commitc594912c391f67a0b2da17702a8717fdae438e31 (patch)
tree58e576f57da5f0888d0752129409ca2ab704e7af /libpurple/purpleimconversation.h
parent344c125bd3a949bed089f995314f5789344de24d (diff)
downloadpidgin-c594912c391f67a0b2da17702a8717fdae438e31.tar.gz
Remove the icon from PurpleIMConversation
The intent is to move this functionality to PurpleConversation once PurpleAvatar has laned, so this just moves the exist code out of the way. Testing Done: Ran the tests and ran with demo and xmmp accounts. Avatars are busted in the info pane at the moment. Reviewed at https://reviews.imfreedom.org/r/2114/
Diffstat (limited to 'libpurple/purpleimconversation.h')
-rw-r--r--libpurple/purpleimconversation.h26
1 files changed, 1 insertions, 25 deletions
diff --git a/libpurple/purpleimconversation.h b/libpurple/purpleimconversation.h
index c6bde8b58a..096d8d89fa 100644
--- a/libpurple/purpleimconversation.h
+++ b/libpurple/purpleimconversation.h
@@ -55,7 +55,7 @@ typedef enum
typedef struct _PurpleIMConversation PurpleIMConversation;
typedef struct _PurpleIMConversationClass PurpleIMConversationClass;
-#include "buddyicon.h"
+#include "account.h"
#include <purpleconversation.h>
/**
@@ -98,30 +98,6 @@ GType purple_im_conversation_get_type(void);
PurpleConversation *purple_im_conversation_new(PurpleAccount *account, const gchar *name);
/**
- * purple_im_conversation_set_icon:
- * @im: The IM.
- * @icon: The buddy icon.
- *
- * Sets the IM's buddy icon.
- *
- * This should only be called from within Purple. You probably want to
- * call purple_buddy_icon_set_data().
- *
- * See purple_buddy_icon_set_data().
- */
-void purple_im_conversation_set_icon(PurpleIMConversation *im, PurpleBuddyIcon *icon);
-
-/**
- * purple_im_conversation_get_icon:
- * @im: The IM.
- *
- * Returns the IM's buddy icon.
- *
- * Returns: (transfer none): The buddy icon.
- */
-PurpleBuddyIcon *purple_im_conversation_get_icon(PurpleIMConversation *im);
-
-/**
* purple_im_conversation_set_typing_state:
* @im: The IM.
* @state: The typing state.