[vala/staging] vala: Fix mixup of target_glib_major/minor in set_target_glib_version()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/staging] vala: Fix mixup of target_glib_major/minor in set_target_glib_version()
- Date: Sun, 21 Jul 2019 17:59:01 +0000 (UTC)
commit 7249c2158e74c9ff726c610d2426d4e19e944464
Author: Jim Mason <jmason ibinx com>
Date: Sun Jul 21 18:04:04 2019 +0100
vala: Fix mixup of target_glib_major/minor in set_target_glib_version()
Introduced with 3d926c1288b3ec4fd692dd1de6b91fb6c2090183
Fixes https://gitlab.gnome.org/GNOME/vala/issues/825
vala/valacodecontext.vala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/vala/valacodecontext.vala b/vala/valacodecontext.vala
index 35f278938..b2fc8eaf3 100644
--- a/vala/valacodecontext.vala
+++ b/vala/valacodecontext.vala
@@ -608,8 +608,8 @@ public class Vala.CodeContext {
defines.add ("GLIB_2_%d".printf (i));
}
- target_glib_major = glib_minor;
- target_glib_minor = glib_major;
+ target_glib_major = glib_major;
+ target_glib_minor = glib_minor;
}
public string? get_vapi_path (string pkg) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]