pidgin/pidgin

Remove attention conversation signals

20 months ago, Elliott Sales de Andrade
af586910262e
Parents d567f89d6a9b
Children cf2659b7ae57
Remove attention conversation signals

Testing Done:
Compiled only.

Reviewed at https://reviews.imfreedom.org/r/1916/
--- a/ChangeLog.API Sun Oct 09 04:43:37 2022 -0500
+++ b/ChangeLog.API Sun Oct 09 04:48:50 2022 -0500
@@ -339,6 +339,7 @@
file-recv-start, file-send-accept, file-send-cancel,
file-send-complete, file-send-start signals. Use
notify::status on #PurpleXfer objects instead.
+ * got-attention, sent-attention signals
* network-configuration-changed signal
* PurpleAccount->ui_data
* PurpleAccountPrefsUiOps
--- a/doc/reference/libpurple/signals_conversation.md Sun Oct 09 04:43:37 2022 -0500
+++ b/doc/reference/libpurple/signals_conversation.md Sun Oct 09 04:48:50 2022 -0500
@@ -38,8 +38,6 @@
* [chat-topic-changed](#chat-topic-changed)
* [cleared-message-history](#cleared-message-history)
* [conversation-extended-menu](#conversation-extended-menu)
-* [sent-attention](#sent-attention)
-* [got-attention](#got-attention)
### Signal Details
@@ -1002,65 +1000,3 @@
**user_data**
: user data set when the signal handler was connected.
-
-----
-
-#### sent-attention
-
-```c
-void user_function(PurpleAccount *account,
- const gchar *who,
- PurpleConversation *conv,
- guint type,
- gpointer user_data);
-```
-
-Emitted when receiving an attention message (buzz, nudge, etc.).
-
-**Parameters:**
-
-**account**
-: The account.
-
-**who**
-: The name of the person receiving the attention.
-
-**conv**
-: The conversation.
-
-**type**
-: The attention type (an index starting at 0).
-
-**user_data**
-: user data set when the signal handler was connected.
-
-----
-
-#### got-attention
-
-```c
-void user_function(PurpleAccount *account,
- const gchar *who,
- PurpleConversation *conv,
- guint type,
- gpointer user_data);
-```
-
-Emitted when receiving an attention message (buzz, nudge, etc.).
-
-**Parameters:**
-
-**account**
-: The account.
-
-**who**
-: The name of the person sending the attention.
-
-**conv**
-: The conversation.
-
-**type**
-: The attention type (an index starting at 0).
-
-**user_data**
-: user data set when the signal handler was connected.
--- a/libpurple/conversations.c Sun Oct 09 04:43:37 2022 -0500
+++ b/libpurple/conversations.c Sun Oct 09 04:48:50 2022 -0500
@@ -79,16 +79,6 @@
purple_marshal_VOID__POINTER_POINTER, G_TYPE_NONE, 2,
PURPLE_TYPE_IM_CONVERSATION, PURPLE_TYPE_MESSAGE);
- purple_signal_register(handle, "sent-attention",
- purple_marshal_VOID__POINTER_POINTER_POINTER_UINT,
- G_TYPE_NONE, 4, PURPLE_TYPE_ACCOUNT, G_TYPE_STRING,
- PURPLE_TYPE_CONVERSATION, G_TYPE_UINT);
-
- purple_signal_register(handle, "got-attention",
- purple_marshal_VOID__POINTER_POINTER_POINTER_UINT,
- G_TYPE_NONE, 4, PURPLE_TYPE_ACCOUNT, G_TYPE_STRING,
- PURPLE_TYPE_CONVERSATION, G_TYPE_UINT);
-
purple_signal_register(handle, "sending-im-msg",
purple_marshal_VOID__POINTER_POINTER, G_TYPE_NONE,
2, PURPLE_TYPE_ACCOUNT, PURPLE_TYPE_MESSAGE);