From ff0c453f01c96f89d249e6717b243667d6940604 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 30 Apr 2023 17:42:35 -0500 Subject: Use G_SOURCE_FUNC macro more It was added in GLib 2.58 Testing Done: Compiled only. Reviewed at https://reviews.imfreedom.org/r/2446/ --- pidgin/gtkmedia.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pidgin') diff --git a/pidgin/gtkmedia.c b/pidgin/gtkmedia.c index 9630f93564..e088286480 100644 --- a/pidgin/gtkmedia.c +++ b/pidgin/gtkmedia.c @@ -769,7 +769,7 @@ pidgin_media_ready_cb(PurpleMedia *media, PidginMedia *gtkmedia, const gchar *si 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), gtkmedia); } -- cgit v1.2.1