]> 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)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 17 Apr 2023 21:20:26 +0000 (23:20 +0200)
Not <glib.h>.  Fixes an implicit function error when building deja-dup.

vapi/glib-2.0.vapi

index 24eb9feea44a910b1a2a4cc381392e989c78f313..706ac3960e463b578780c4ba6c5bed3bfe0928da 100644 (file)
@@ -3484,7 +3484,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);
        }