Blame SOURCES/0004-Fix-possible-compile-error-using-former-GLib2-versio.patch

fed39a
From 7a9ae6219c5a114edcfd1ccb5db04568e47c94aa Mon Sep 17 00:00:00 2001
fed39a
From: Frediano Ziglio <freddy77@gmail.com>
fed39a
Date: Mon, 11 May 2020 10:47:49 +0100
fed39a
Subject: [PATCH 4/4] Fix possible compile error using former GLib2 version
fed39a
fed39a
We require GLib 2.50 but G_SOURCE_FUNC was introduced in version
fed39a
2.58. Do the conversion instead of using G_SOURCE_FUNC macro.
fed39a
fed39a
Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
fed39a
Acked-by: Victor Toso <victortoso@redhat.com>
fed39a
(cherry picked from commit d0b5f80adaef757ebfa81d1ab1c6561697243dc9)
fed39a
---
fed39a
 src/vdagent-connection.c | 2 +-
fed39a
 1 file changed, 1 insertion(+), 1 deletion(-)
fed39a
fed39a
diff --git a/src/vdagent-connection.c b/src/vdagent-connection.c
fed39a
index 8c023e2..c085d81 100644
fed39a
--- a/src/vdagent-connection.c
fed39a
+++ b/src/vdagent-connection.c
fed39a
@@ -231,7 +231,7 @@ void vdagent_connection_write(VDAgentConnection *self,
fed39a
         out = G_POLLABLE_OUTPUT_STREAM(g_io_stream_get_output_stream(priv->io_stream));
fed39a
 
fed39a
         source = g_pollable_output_stream_create_source(out, priv->cancellable);
fed39a
-        g_source_set_callback(source, G_SOURCE_FUNC(out_stream_ready_cb),
fed39a
+        g_source_set_callback(source, (GSourceFunc) out_stream_ready_cb,
fed39a
             g_object_ref(self), NULL);
fed39a
         g_source_attach(source, NULL);
fed39a
         g_source_unref(source);
fed39a
-- 
fed39a
2.26.1
fed39a