From 1165edf662baa3286ff76df54f2db6819340d0a3 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 1 Jul 2009 13:53:06 +0000 Subject: remove redundant clg call svn path=/trunk/netsurf/; revision=8240 --- beos/beos_plotters.cpp | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'beos') diff --git a/beos/beos_plotters.cpp b/beos/beos_plotters.cpp index 754c0d75d..dabd95821 100644 --- a/beos/beos_plotters.cpp +++ b/beos/beos_plotters.cpp @@ -61,7 +61,6 @@ cairo_t *current_cr; * the right-bottom pixel is actually part of the BRect! */ -static bool nsbeos_plot_clg(colour c); static bool nsbeos_plot_rectangle(int x0, int y0, int width, int height, int line_width, colour c, bool dotted, bool dashed); static bool nsbeos_plot_line(int x0, int y0, int x1, int y1, int width, @@ -95,7 +94,6 @@ static const rgb_color kBlackColor = { 0, 0, 0, 255 }; struct plotter_table plot; const struct plotter_table nsbeos_plotters = { - nsbeos_plot_clg, nsbeos_plot_rectangle, nsbeos_plot_line, nsbeos_plot_polygon, @@ -141,27 +139,6 @@ void nsbeos_current_gc_set(BView *view) current_view = view; } - -bool nsbeos_plot_clg(colour c) -{ -#warning BView::Invalidate() ? - - BView *view; - - view = nsbeos_current_gc/*_lock*/(); - if (view == NULL) { - warn_user("No GC", 0); - return false; - } - - nsbeos_set_colour(c); - view->FillRect(view->Bounds()); - - //nsbeos_current_gc_unlock(); - - return true; -} - bool nsbeos_plot_rectangle(int x0, int y0, int width, int height, int line_width, colour c, bool dotted, bool dashed) { -- cgit v1.2.3