diff options
author | Jürg Billeter <j@bitron.ch> | 2010-10-10 11:25:01 +0200 |
---|---|---|
committer | Jürg Billeter <j@bitron.ch> | 2010-10-10 11:34:20 +0200 |
commit | 79b1a3e39a3d2bac9fbe40c99336b3b89e374571 (patch) | |
tree | 31ecfe94a705b4a36f11aceec1293c9dd2509998 /codegen/valatyperegisterfunction.vala | |
parent | 3102148b878ef0fc25fad67c5766d13dcde29252 (diff) | |
download | vala-79b1a3e39a3d2bac9fbe40c99336b3b89e374571.tar.gz |
Require and target GLib >= 2.16
This allows valac to use g_strcmp0. The next stable release of vala
will happen three years after the release of GLib 2.16.0.
Diffstat (limited to 'codegen/valatyperegisterfunction.vala')
-rw-r--r-- | codegen/valatyperegisterfunction.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/valatyperegisterfunction.vala b/codegen/valatyperegisterfunction.vala index 0490b1af1..b30d7efe6 100644 --- a/codegen/valatyperegisterfunction.vala +++ b/codegen/valatyperegisterfunction.vala @@ -36,7 +36,7 @@ public abstract class Vala.TypeRegisterFunction { * Constructs the C function from the specified type. */ public void init_from_type (bool plugin) { - bool use_thread_safe = context.require_glib_version (2, 14) && !plugin; + bool use_thread_safe = !plugin; bool fundamental = false; Class cl = get_type_declaration () as Class; |