]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
glib-2.0: g_chdir is declared in <glib/gstdio.h>
authorFlorian Weimer <fweimer@redhat.com>
Mon, 17 Apr 2023 20:04:18 +0000 (22:04 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 17 Apr 2023 20:18:27 +0000 (22:18 +0200)
Not <glib.h>.  Fixes an implicit function error when building deja-dup.

vapi/glib-2.0.vapi

index d3b66babb973afb066ea3edd4a8a016eb2c31b48..58cc3b7ae1af7b43d422ea003dbbbb32bd74dbdf 100644 (file)
@@ -3485,7 +3485,7 @@ namespace GLib {
                [CCode (cname = "g_atexit")]
                public static void atexit (VoidFunc func);
                [Version (since = "2.8")]
-               [CCode (cname = "g_chdir")]
+               [CCode (cname = "g_chdir", cheader_filename = "glib/gstdio.h")]
                public static int set_current_dir (string path);
        }