summaryrefslogtreecommitdiff
path: root/codegen/valatyperegisterfunction.vala
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2010-10-10 11:25:01 +0200
committerJürg Billeter <j@bitron.ch>2010-10-10 11:34:20 +0200
commit79b1a3e39a3d2bac9fbe40c99336b3b89e374571 (patch)
tree31ecfe94a705b4a36f11aceec1293c9dd2509998 /codegen/valatyperegisterfunction.vala
parent3102148b878ef0fc25fad67c5766d13dcde29252 (diff)
downloadvala-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.vala2
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;