elementary / elementary/settings-printers

cups.vapi does not match API found in valadoc.org

Open
#167 0 comments 0 reactions 1 assignee Claimed by @tintou View on GitHub
Dominant language
Vala
Stars
14
Forks
11
PR merge metrics
No merged PRs in 30d

Description

### What Happened?

Attemps to use a number of functions mentioned in https://valadoc.org/cups/ failed because the function were no contained in the builtin `cups.vapi` file. This file also did not match https://gitlab.gnome.org/GNOME/vala-extra-vapis/-/blob/master/cups.vapi

### Steps to Reproduce

1. Attempt to use `CUPS.Job.free (Jobs[] jobs)` (e.g.)
2. The code does not compile

### Expected Behavior

The version of CUPS.vapi used matches `valadoc.org` and the code uses functions contained therein.

### OS Version

7.x (Early Access)

### Software Version

Compiled from git

### Log Output

_No response_

### Hardware Info

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.