pidgin/gtkconv.h

changeset 41323
21185b889103
parent 41184
05b5c210352b
child 41378
14cda54c3fbf
--- a/pidgin/gtkconv.h	Mon Apr 04 23:56:44 2022 -0500
+++ b/pidgin/gtkconv.h	Sun Apr 10 03:01:08 2022 -0500
@@ -30,25 +30,6 @@
 typedef struct _PidginChatPane     PidginChatPane;
 typedef struct _PidginConversation PidginConversation;
 
-/**
- * PidginUnseenState:
- * @PIDGIN_UNSEEN_NONE:   No unseen text in the conversation.
- * @PIDGIN_UNSEEN_EVENT:  Unseen events in the conversation.
- * @PIDGIN_UNSEEN_NO_LOG: Unseen text with NO_LOG flag.
- * @PIDGIN_UNSEEN_TEXT:   Unseen text in the conversation.
- * @PIDGIN_UNSEEN_NICK:   Unseen text and the nick was said.
- *
- * Unseen text states.
- */
-typedef enum
-{
-	PIDGIN_UNSEEN_NONE,
-	PIDGIN_UNSEEN_EVENT,
-	PIDGIN_UNSEEN_NO_LOG,
-	PIDGIN_UNSEEN_TEXT,
-	PIDGIN_UNSEEN_NICK
-} PidginUnseenState;
-
 enum {
 	CHAT_USERS_ICON_COLUMN,
 	CHAT_USERS_ALIAS_COLUMN,
@@ -94,9 +75,6 @@
 	GtkWidget *editor;
 	GtkWidget *entry;
 
-	PidginUnseenState unseen_state;
-	guint unseen_count;
-
 	union
 	{
 		PidginImPane   *im;
@@ -137,40 +115,6 @@
 void pidgin_conv_switch_active_conversation(PurpleConversation *conv);
 
 /**
- * pidgin_conv_update_buttons_by_protocol:
- * @conv: The conversation.
- *
- * Updates conversation buttons by protocol.
- */
-void pidgin_conv_update_buttons_by_protocol(PurpleConversation *conv);
-
-/**
- * pidgin_conversations_get_unseen_all:
- * @min_state:    The minimum unseen state.
- * @max_count:    Maximum number of conversations to return, or 0 for
- *                no maximum.
- *
- * Returns a list of conversations of any type which have an unseen
- * state greater than or equal to the specified minimum state. Using the
- * hidden_only parameter, this search can be limited to hidden
- * conversations. The max_count parameter will limit the total number of
- * converations returned if greater than zero. The returned list should
- * be freed by the caller.
- *
- * Returns: (transfer container) (element-type PurpleConversation): List of PurpleConversation matching criteria, or %NULL.
- */
-GList *
-pidgin_conversations_get_unseen_all(PidginUnseenState min_state, guint max_count);
-
-/**
- * pidgin_conv_present_conversation:
- * @conv: The conversation.
- *
- * Presents a purple conversation to the user.
- */
-void pidgin_conv_present_conversation(PurpleConversation *conv);
-
-/**
  * pidgin_conv_attach_to_conversation:
  * @conv:  The conversation.
  *
@@ -180,14 +124,6 @@
  */
 gboolean pidgin_conv_attach_to_conversation(PurpleConversation *conv);
 
-/**
- * pidgin_conv_new:
- * @conv: The conversation.
- *
- * Creates a new GTK conversation for a given #PurpleConversation.
- */
-void pidgin_conv_new(PurpleConversation *conv);
-
 /**************************************************************************/
 /* GTK Conversations Subsystem                                            */
 /**************************************************************************/

mercurial