Commit 05422eab authored by Rico Tzschichholz's avatar Rico Tzschichholz Committed by Michael Terry

duplicity: Mark GPGError as extern and prevent GPG symbols to be public API

This also fixes building with vala 0.45.2+
parent ccd8397b
Pipeline #95278 passed with stage
in 10 minutes and 11 seconds
......@@ -20,13 +20,13 @@
using GLib;
[CCode (cheader_filename = "gpgrt.h", cname = "gpg_err_code_t", cprefix = "GPG_ERR_", has_type_id = false)]
public enum GPGError {
extern enum GPGError {
NO_SECKEY = 17,
BAD_KEY = 19,
}
[CCode (cheader_filename = "gpgrt.h")]
public extern unowned string gpg_strerror(GPGError code);
extern unowned string gpg_strerror(GPGError code);
internal class DuplicityJob : DejaDup.ToolJob
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment