From 59ed4a6cc97b71f02e1557db8e50813a514932ed Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Sat, 17 Oct 2009 19:51:06 +0200 Subject: [PATCH] Perl bindings for champlain_view_remove_layer() are conditional --- bindings/perl/Champlain/xs/ChamplainView.xs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bindings/perl/Champlain/xs/ChamplainView.xs b/bindings/perl/Champlain/xs/ChamplainView.xs index 3783e23..45604c6 100644 --- a/bindings/perl/Champlain/xs/ChamplainView.xs +++ b/bindings/perl/Champlain/xs/ChamplainView.xs @@ -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 */ -- 2.39.5