]> err.no Git - libchamplain/commitdiff
Perl bindings for champlain_view_remove_layer() are conditional
authorEmmanuel Rodriguez <emmanuel.rodriguez@gmail.com>
Sat, 17 Oct 2009 17:51:06 +0000 (19:51 +0200)
committerPierre-Luc Beaudoin <pierre-luc@pierlux.com>
Sat, 17 Oct 2009 18:14:23 +0000 (14:14 -0400)
bindings/perl/Champlain/xs/ChamplainView.xs

index 3783e239c7d9d1c596164bc5e14537e38d840df5..45604c651b47c39299bfe8856b6a9154cc5a8647 100644 (file)
@@ -148,5 +148,9 @@ void
 champlain_view_remove_polygon (ChamplainView *view, ChamplainPolygon *polygon)
 
 
+#if CHAMPLAIN_CHECK_VERSION (0, 4, 1)
+
 void
 champlain_view_remove_layer (ChamplainView *view, ChamplainLayer *layer)
+
+#endif /* 0.4.1 */