Commit 8daec366 authored by Tiago Peixoto's avatar Tiago Peixoto

Fix compilation without pycairo

See merge request !10
parents 2c8c9899 feaa50f1
Pipeline #414 passed with stage
in 463 minutes and 59 seconds
......@@ -15,6 +15,8 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef HAVE_CAIROMM
#include "graph.hh"
#include PYCAIRO_HEADER
......@@ -25,3 +27,5 @@ PyObject* gt_PycairoContext_FromContext(cairo_t *ctx, PyTypeObject *type,
{
return PycairoContext_FromContext(ctx, type, base);
}
#endif // HAVE_CAIROMM
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment