summaryrefslogtreecommitdiff
path: root/gtk/gtk_plotters.c
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-07-14 10:57:07 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-07-14 10:57:07 +0000
commit8365d46eb71035a28a4f58713588aea7b9f70b38 (patch)
treea612650d49a16a3faf15b6eb4b8c971faa2c3ce4 /gtk/gtk_plotters.c
parent86232d72a6709243136496770aade7c4d47ef28a (diff)
downloadnetsurf-8365d46eb71035a28a4f58713588aea7b9f70b38.tar.gz
netsurf-8365d46eb71035a28a4f58713588aea7b9f70b38.tar.bz2
Rename TRANSPARENT to NS_TRANSPARENT to avoid clash on Windows. By MarkieB.
svn path=/trunk/netsurf/; revision=8513
Diffstat (limited to 'gtk/gtk_plotters.c')
-rw-r--r--gtk/gtk_plotters.c6
1 files changed, 3 insertions, 3 deletions
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);