[perl-Glib] Add a missing version check
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Glib] Add a missing version check
- Date: Sun, 30 May 2010 14:33:28 +0000 (UTC)
commit ed1d2d85f8eec58e2fe026a8471d3a4487c4bd4d
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date: Sun May 30 15:17:02 2010 +0200
Add a missing version check
GType.xs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/GType.xs b/GType.xs
index bffdae4..3b4c5d2 100644
--- a/GType.xs
+++ b/GType.xs
@@ -2018,7 +2018,9 @@ BOOT:
gperl_register_fundamental (G_TYPE_FLOAT, "Glib::Float");
gperl_register_fundamental (G_TYPE_DOUBLE, "Glib::Double");
gperl_register_fundamental (G_TYPE_BOOLEAN, "Glib::Boolean");
+#if GLIB_CHECK_VERSION (2, 10, 0)
gperl_register_fundamental (G_TYPE_GTYPE, "Glib::GType");
+#endif
gperl_register_boxed (GPERL_TYPE_SV, "Glib::Scalar", NULL);
/* i love nasty ugly hacks for backwards compat... Glib::UInt used
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]