summaryrefslogtreecommitdiff
path: root/finch/plugins
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2022-03-25 02:51:58 -0500
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2022-03-25 02:51:58 -0500
commit30b2d2563e45c2ac4bcfd9b0792818f455e0d8cc (patch)
tree0be0ebfe74e5349cebabe4f539250e127aaf8ddb /finch/plugins
parent0ed85812d2be12281461514c03a1ce892e71f53f (diff)
downloadpidgin-30b2d2563e45c2ac4bcfd9b0792818f455e0d8cc.tar.gz
Replace PURPLE_CALLBACK by G_CALLBACK
Another straight search-and-replace for 'easy' review. Testing Done: Compile only. Reviewed at https://reviews.imfreedom.org/r/1371/
Diffstat (limited to 'finch/plugins')
-rw-r--r--finch/plugins/gntgf.c8
-rw-r--r--finch/plugins/gnttinyurl.c10
2 files changed, 9 insertions, 9 deletions
diff --git a/finch/plugins/gntgf.c b/finch/plugins/gntgf.c
index 4d501fdb36..ddebeab888 100644
--- a/finch/plugins/gntgf.c
+++ b/finch/plugins/gntgf.c
@@ -361,13 +361,13 @@ gnt_gf_load(GPluginPlugin *plugin, GError **error) {
#endif
purple_signal_connect(purple_blist_get_handle(), "buddy-signed-on", plugin,
- PURPLE_CALLBACK(buddy_signed_on), NULL);
+ G_CALLBACK(buddy_signed_on), NULL);
purple_signal_connect(purple_blist_get_handle(), "buddy-signed-off", plugin,
- PURPLE_CALLBACK(buddy_signed_off), NULL);
+ G_CALLBACK(buddy_signed_off), NULL);
purple_signal_connect(purple_conversations_get_handle(), "received-im-msg", plugin,
- PURPLE_CALLBACK(received_im_msg), NULL);
+ G_CALLBACK(received_im_msg), NULL);
purple_signal_connect(purple_conversations_get_handle(), "received-chat-msg", plugin,
- PURPLE_CALLBACK(received_chat_msg), NULL);
+ G_CALLBACK(received_chat_msg), NULL);
memset(&gpsy, 0, sizeof(gpsy));
memset(&gpsw, 0, sizeof(gpsw));
diff --git a/finch/plugins/gnttinyurl.c b/finch/plugins/gnttinyurl.c
index 8d9c7caeb8..90cdc1f993 100644
--- a/finch/plugins/gnttinyurl.c
+++ b/finch/plugins/gnttinyurl.c
@@ -497,19 +497,19 @@ tiny_url_load(GPluginPlugin *plugin, GError **error) {
purple_signal_connect(purple_conversations_get_handle(),
"wrote-im-msg",
- plugin, PURPLE_CALLBACK(wrote_msg), NULL);
+ plugin, G_CALLBACK(wrote_msg), NULL);
purple_signal_connect(purple_conversations_get_handle(),
"wrote-chat-msg",
- plugin, PURPLE_CALLBACK(wrote_msg), NULL);
+ plugin, G_CALLBACK(wrote_msg), NULL);
purple_signal_connect(purple_conversations_get_handle(),
"writing-im-msg",
- plugin, PURPLE_CALLBACK(writing_msg), NULL);
+ plugin, G_CALLBACK(writing_msg), NULL);
purple_signal_connect(purple_conversations_get_handle(),
"writing-chat-msg",
- plugin, PURPLE_CALLBACK(writing_msg), NULL);
+ plugin, G_CALLBACK(writing_msg), NULL);
purple_signal_connect(purple_conversations_get_handle(),
"deleting-conversation",
- plugin, PURPLE_CALLBACK(free_conv_urls), NULL);
+ plugin, G_CALLBACK(free_conv_urls), NULL);
return TRUE;
}