--- a/finch/gntblist.c Tue Apr 25 15:00:33 2023 -0500
+++ b/finch/gntblist.c Sun Apr 30 17:42:35 2023 -0500
@@ -1719,7 +1719,7 @@
* top of that, if the selected buddy belongs to the disconnected
* account, then retrieving the tooltip for that causes crash. So
* let's make sure we wait for all the buddies to be removed first.*/
- int id = g_timeout_add(0, (GSourceFunc)draw_tooltip_real, ggblist);
+ int id = g_timeout_add(0, G_SOURCE_FUNC(draw_tooltip_real), ggblist); g_object_set_data_full(G_OBJECT(ggblist->window), "draw_tooltip_calback",
GINT_TO_POINTER(id), (GDestroyNotify)g_source_remove);
@@ -2086,7 +2086,9 @@
/* Move the focus to the entry box */
/* XXX: Make sure the selected status can have a message */
gnt_box_move_focus(GNT_BOX(ggblist->window), 1);
- ggblist->typing = g_timeout_add_seconds(TYPING_TIMEOUT_S, (GSourceFunc)remove_typing_cb, NULL);
+ ggblist->typing = g_timeout_add_seconds(TYPING_TIMEOUT_S, + G_SOURCE_FUNC(remove_typing_cb), else if (now->type == STATUS_SAVED_ALL)
@@ -2121,7 +2123,9 @@
- ggblist->typing = g_timeout_add_seconds(TYPING_TIMEOUT_S, (GSourceFunc)remove_typing_cb, NULL);
+ ggblist->typing = g_timeout_add_seconds(TYPING_TIMEOUT_S, + G_SOURCE_FUNC(remove_typing_cb), @@ -2357,7 +2361,9 @@
g_clear_handle_id(&fnode->signed_timer, g_source_remove);
- fnode->signed_timer = g_timeout_add_seconds(6, (GSourceFunc)buddy_recent_signed_on_off, data);
+ fnode->signed_timer = g_timeout_add_seconds(6, + G_SOURCE_FUNC(buddy_recent_signed_on_off), update_node_display(node, ggblist);
if (purple_blist_node_get_parent(node) && PURPLE_IS_META_CONTACT(purple_blist_node_get_parent(node)))
update_node_display(purple_blist_node_get_parent(node), ggblist);
--- a/finch/plugins/gntgf/gntgf.c Tue Apr 25 15:00:33 2023 -0500
+++ b/finch/plugins/gntgf/gntgf.c Sun Apr 30 17:42:35 2023 -0500
@@ -215,7 +215,8 @@
- toast->timer = g_timeout_add_seconds(4, (GSourceFunc)remove_toaster, toast);
+ toast->timer = g_timeout_add_seconds(4, G_SOURCE_FUNC(remove_toaster), toasters = g_list_prepend(toasters, toast);
--- a/libpurple/plugins/joinpart/joinpart.c Tue Apr 25 15:00:33 2023 -0500
+++ b/libpurple/plugins/joinpart/joinpart.c Sun Apr 30 17:42:35 2023 -0500
@@ -238,7 +238,7 @@
G_CALLBACK(received_chat_msg_cb), users);
/* Cleanup every 5 minutes */
- id = g_timeout_add_seconds(60 * 5, (GSourceFunc)clean_users_hash, users);
+ id = g_timeout_add_seconds(60 * 5, G_SOURCE_FUNC(clean_users_hash), users); g_object_set_data(G_OBJECT(plugin), "users", users);
g_object_set_data(G_OBJECT(plugin), "id", GUINT_TO_POINTER(id));
--- a/libpurple/protocols/gg/edisc.c Tue Apr 25 15:00:33 2023 -0500
+++ b/libpurple/protocols/gg/edisc.c Sun Apr 30 17:42:35 2023 -0500
@@ -981,7 +981,7 @@
poll = g_pollable_input_stream_create_source(G_POLLABLE_INPUT_STREAM(input),
edisc_xfer->cancellable);
g_source_set_callback(poll,
- (GSourceFunc)(gpointer)ggp_edisc_xfer_recv_pollable_source_cb,
+ G_SOURCE_FUNC(ggp_edisc_xfer_recv_pollable_source_cb), edisc_xfer->handler = g_source_attach(poll, NULL);
--- a/libpurple/protocols/jabber/jabber.c Tue Apr 25 15:00:33 2023 -0500
+++ b/libpurple/protocols/jabber/jabber.c Sun Apr 30 17:42:35 2023 -0500
@@ -537,7 +537,7 @@
if (js->keepalive_timeout == 0) {
jabber_keepalive_ping(js);
js->keepalive_timeout = g_timeout_add_seconds(120,
- (GSourceFunc)(jabber_keepalive_timeout), gc);
+ G_SOURCE_FUNC(jabber_keepalive_timeout), gc); --- a/pidgin/gtkmedia.c Tue Apr 25 15:00:33 2023 -0500
+++ b/pidgin/gtkmedia.c Sun Apr 30 17:42:35 2023 -0500
@@ -769,7 +769,7 @@
g_clear_handle_id(>kmedia->priv->timeout_id, g_source_remove);
gtkmedia->priv->request_type |= type;
gtkmedia->priv->timeout_id = g_timeout_add(500,
- (GSourceFunc)pidgin_request_timeout_cb,
+ G_SOURCE_FUNC(pidgin_request_timeout_cb),