summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2009-07-01 13:53:06 +0000
committerVincent Sanders <vince@netsurf-browser.org>2009-07-01 13:53:06 +0000
commit1165edf662baa3286ff76df54f2db6819340d0a3 (patch)
treeef3c9d96bfe66869e7c06fa06e1388fd7c3dd8ee /gtk
parenta3e205bbd9cff0a189b3a5a03c676ace9c5ee8dd (diff)
downloadnetsurf-1165edf662baa3286ff76df54f2db6819340d0a3.tar.gz
netsurf-1165edf662baa3286ff76df54f2db6819340d0a3.tar.bz2
remove redundant clg call
svn path=/trunk/netsurf/; revision=8240
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtk_plotters.c7
-rw-r--r--gtk/gtk_print.c7
2 files changed, 0 insertions, 14 deletions
diff --git a/gtk/gtk_plotters.c b/gtk/gtk_plotters.c
index 66f088034..c746483c2 100644
--- a/gtk/gtk_plotters.c
+++ b/gtk/gtk_plotters.c
@@ -49,7 +49,6 @@ GdkDrawable *current_drawable;
GdkGC *current_gc;
cairo_t *current_cr;
-static bool nsgtk_plot_clg(colour c);
static bool nsgtk_plot_rectangle(int x0, int y0, int width, int height,
int line_width, colour c, bool dotted, bool dashed);
static bool nsgtk_plot_line(int x0, int y0, int x1, int y1, int width,
@@ -78,7 +77,6 @@ static float nsgtk_plot_scale = 1.0;
struct plotter_table plot;
const struct plotter_table nsgtk_plotters = {
- .clg = nsgtk_plot_clg,
.rectangle = nsgtk_plot_rectangle,
.line = nsgtk_plot_line,
.polygon = nsgtk_plot_polygon,
@@ -93,11 +91,6 @@ const struct plotter_table nsgtk_plotters = {
};
-bool nsgtk_plot_clg(colour c)
-{
- return true;
-}
-
bool nsgtk_plot_rectangle(int x0, int y0, int width, int height,
int line_width, colour c, bool dotted, bool dashed)
{
diff --git a/gtk/gtk_print.c b/gtk/gtk_print.c
index 7c403d498..cb86f93a8 100644
--- a/gtk/gtk_print.c
+++ b/gtk/gtk_print.c
@@ -45,7 +45,6 @@
#include "utils/log.h"
#include "utils/utils.h"
-static bool nsgtk_print_plot_clg(colour c);
static bool nsgtk_print_plot_rectangle(int x0, int y0, int width, int height,
int line_width, colour c, bool dotted, bool dashed);
static bool nsgtk_print_plot_line(int x0, int y0, int x1, int y1, int width,
@@ -89,7 +88,6 @@ struct content *content_to_print;
static GdkRectangle cliprect;
static const struct plotter_table nsgtk_print_plotters = {
- .clg = nsgtk_print_plot_clg,
.rectangle = nsgtk_print_plot_rectangle,
.line = nsgtk_print_plot_line,
.polygon = nsgtk_print_plot_polygon,
@@ -110,11 +108,6 @@ static const struct printer gtk_printer = {
gtk_print_end
};
-bool nsgtk_print_plot_clg(colour c)
-{
- return true;
-}
-
bool nsgtk_print_plot_rectangle(int x0, int y0, int width, int height,
int line_width, colour c, bool dotted, bool dashed)
{