From: Emmanuel Rodriguez Date: Sat, 17 Oct 2009 17:51:06 +0000 (+0200) Subject: Perl bindings for champlain_view_remove_layer() are conditional X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=59ed4a6cc97b71f02e1557db8e50813a514932ed;p=libchamplain Perl bindings for champlain_view_remove_layer() are conditional --- 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 */