From 8365d46eb71035a28a4f58713588aea7b9f70b38 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Tue, 14 Jul 2009 10:57:07 +0000 Subject: Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB. svn path=/trunk/netsurf/; revision=8513 --- gtk/gtk_plotters.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk') diff --git a/gtk/gtk_plotters.c b/gtk/gtk_plotters.c index 1c181a9e4..8f906113c 100644 --- a/gtk/gtk_plotters.c +++ b/gtk/gtk_plotters.c @@ -469,10 +469,10 @@ static bool nsgtk_plot_path(const float *p, unsigned int n, colour fill, float w cairo_set_matrix(current_cr, &old_ctm); /* Now draw path */ - if (fill != TRANSPARENT) { + if (fill != NS_TRANSPARENT) { nsgtk_set_colour(fill); - if (c != TRANSPARENT) { + if (c != NS_TRANSPARENT) { /* Fill & Stroke */ cairo_fill_preserve(current_cr); nsgtk_set_colour(c); @@ -481,7 +481,7 @@ static bool nsgtk_plot_path(const float *p, unsigned int n, colour fill, float w /* Fill only */ cairo_fill(current_cr); } - } else if (c != TRANSPARENT) { + } else if (c != NS_TRANSPARENT) { /* Stroke only */ nsgtk_set_colour(c); cairo_stroke(current_cr); -- cgit v1.2.3