From efc23b92170b829570eaedde495e01778d71b66d Mon Sep 17 00:00:00 2001 From: Jean-Francois Doyon Date: Sun, 26 Feb 2006 23:04:47 +0000 Subject: [PATCH] Fixed up some more styling. color_from_string is now Color filter is now Filter and maybe a few more ... --- bindings/python/mapnik_color.cpp | 2 +- bindings/python/mapnik_filter.cpp | 2 +- bindings/python/mapnik_layer.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bindings/python/mapnik_color.cpp b/bindings/python/mapnik_color.cpp index 42062f5f2..4f16e842e 100644 --- a/bindings/python/mapnik_color.cpp +++ b/bindings/python/mapnik_color.cpp @@ -53,6 +53,6 @@ void export_color () .def(self == self) .def_pickle(color_pickle_suite()) ; - def("color_from_string",&create_from_string); + def("Color",&create_from_string); } diff --git a/bindings/python/mapnik_filter.cpp b/bindings/python/mapnik_filter.cpp index bdfea5fb8..2365f96d8 100644 --- a/bindings/python/mapnik_filter.cpp +++ b/bindings/python/mapnik_filter.cpp @@ -41,5 +41,5 @@ void export_filter() class_,boost::noncopyable>("Filter","An expression which allows to select features.",no_init) .def("__str__",&filter::to_string); ; - def("filter",&create_filter); + def("Filter",&create_filter); } diff --git a/bindings/python/mapnik_layer.cpp b/bindings/python/mapnik_layer.cpp index fe0786b46..a120d3008 100644 --- a/bindings/python/mapnik_layer.cpp +++ b/bindings/python/mapnik_layer.cpp @@ -114,5 +114,5 @@ void export_layer() (&Layer::styles,return_value_policy())) .def_pickle(layer_pickle_suite()) ; - def("create_layer",&create_layer); + def("Layer",&create_layer); }