diff --git a/gdk/broadway/broadway-server.c b/gdk/broadway/broadway-server.c index c3e0b34c41..951c7035c1 100644 --- a/gdk/broadway/broadway-server.c +++ b/gdk/broadway/broadway-server.c @@ -1289,7 +1289,7 @@ handle_incoming_connection (GSocketService *service, } else { - request->connection = g_object_ref (connection); + request->connection = G_IO_STREAM (g_object_ref (connection)); } in = g_io_stream_get_input_stream (request->connection);