From: Ole André Vadla Ravnås Date: Tue, 1 Nov 2022 19:32:23 +0000 (+0100) Subject: libgvc: Fix `cheader_filename` of the `Gvc` namespace X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84bc17f940e377a0a3c09383ba16d471913a5571;p=thirdparty%2Fvala.git libgvc: Fix `cheader_filename` of the `Gvc` namespace The .pc only adds `${includedir}/graphviz` to the include path. --- diff --git a/vapi/libgvc.vapi b/vapi/libgvc.vapi index ab9e5ffb7..b128a02ad 100644 --- a/vapi/libgvc.vapi +++ b/vapi/libgvc.vapi @@ -21,10 +21,10 @@ * Martin Olsson */ -[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "graphviz/gvc.h")] +[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "gvc.h")] namespace Gvc { - [CCode (cname = "aginitlib", cheader_filename="gvc.h")] + [CCode (cname = "aginitlib")] public void initlib ( size_t graphinfo, size_t nodeinfo, size_t edgeinfo); [CCode (cname = "aginit")] @@ -55,7 +55,7 @@ namespace Gvc { } #endif - [CCode (cname = "agerrlevel_t", cheader_filename = "gvc.h", cprefix = "", has_type_id = false)] + [CCode (cname = "agerrlevel_t", cprefix = "", has_type_id = false)] public enum ErrorLevel { AGWARN, AGERR,