From a76404dfd076925eebeb8166f588e0d5e7a9fdd3 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Thu, 13 Jan 2005 20:29:24 +0000 Subject: [project @ 2005-01-13 20:28:50 by bursa] Fix some compilation warnings in the debug build. Update nsgtk_plot_rectangle() with the new parameters. svn path=/import/netsurf/; revision=1447 --- gtk/gtk_plotters.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk') diff --git a/gtk/gtk_plotters.c b/gtk/gtk_plotters.c index 94d39fdd4..9054573e2 100644 --- a/gtk/gtk_plotters.c +++ b/gtk/gtk_plotters.c @@ -23,7 +23,7 @@ extern GdkGC *current_gc; static bool nsgtk_plot_clg(colour c); static bool nsgtk_plot_rectangle(int x0, int y0, int width, int height, - colour c, bool dotted); + int line_width, colour c, bool dotted, bool dashed); static bool nsgtk_plot_line(int x0, int y0, int x1, int y1, int width, colour c, bool dotted, bool dashed); static bool nsgtk_plot_polygon(int *p, unsigned int n, colour fill); @@ -69,7 +69,7 @@ bool nsgtk_plot_clg(colour c) bool nsgtk_plot_rectangle(int x0, int y0, int width, int height, - colour c, bool dotted) + int line_width, colour c, bool dotted, bool dashed) { nsgtk_set_colour(c); gdk_draw_rectangle(current_drawable, current_gc, -- cgit v1.2.3