From 4e6f8d33471f29be9098f8e94347e32279132baa Mon Sep 17 00:00:00 2001 From: Rob Kendrick Date: Sat, 11 Aug 2007 21:40:19 +0000 Subject: revert 3482 so it can be reapplied as two seperate patches svn path=/trunk/netsurf/; revision=3496 --- gtk/gtk_gui.c | 1 - gtk/gtk_plotters.c | 16 +--------------- 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/gtk/gtk_gui.c b/gtk/gtk_gui.c index 9939d5756..e8417368d 100644 --- a/gtk/gtk_gui.c +++ b/gtk/gtk_gui.c @@ -44,7 +44,6 @@ #include "gtk/gtk_gui.h" #include "gtk/gtk_options.h" #include "gtk/gtk_completion.h" -#include "gtk/gtk_window.h" #include "gtk/options.h" #include "gtk/gtk_throbber.h" #include "gtk/gtk_history.h" diff --git a/gtk/gtk_plotters.c b/gtk/gtk_plotters.c index 9f40f3694..e1693f6a9 100644 --- a/gtk/gtk_plotters.c +++ b/gtk/gtk_plotters.c @@ -52,8 +52,6 @@ static bool nsgtk_plot_rectangle(int x0, int y0, int width, int height, 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); -static bool nsgtk_plot_path(float *p, unsigned int n, colour fill, float width, - colour c, float *transform); static bool nsgtk_plot_fill(int x0, int y0, int x1, int y1, colour c); static bool nsgtk_plot_clip(int clip_x0, int clip_y0, int clip_x1, int clip_y1); @@ -90,8 +88,7 @@ const struct plotter_table nsgtk_plotters = { nsgtk_plot_bitmap_tile, NULL, NULL, - NULL, - nsgtk_plot_path + NULL }; @@ -377,17 +374,6 @@ bool nsgtk_plot_bitmap_tile(int x, int y, int width, int height, return true; } -bool nsgtk_plot_path(float *p, unsigned int n, colour fill, float width, - colour c, float *transform) -{ - /* Only the internal SVG renderer uses this plot call currently, - * and the GTK version uses librsvg. Thus, we ignore this complexity, - * and just return true obliviously. - */ - - return true; -} - void nsgtk_set_colour(colour c) { int r, g, b; -- cgit v1.2.3