summaryrefslogtreecommitdiff
path: root/gtk/gtk_print.c
diff options
context:
space:
mode:
authorRob Kendrick <rjek@netsurf-browser.org>2008-10-09 23:07:38 +0000
committerRob Kendrick <rjek@netsurf-browser.org>2008-10-09 23:07:38 +0000
commit4b2802c546be242b212be09277f83099557eb429 (patch)
tree4edc35a004ecff2828017544e31ccf27e6395e86 /gtk/gtk_print.c
parent56500ce8e8648a5178a90c77cc6fb88fc6e518bb (diff)
downloadnetsurf-4b2802c546be242b212be09277f83099557eb429.tar.gz
netsurf-4b2802c546be242b212be09277f83099557eb429.tar.bz2
Whole bunch of warning fixes in GTK
svn path=/trunk/netsurf/; revision=5521
Diffstat (limited to 'gtk/gtk_print.c')
-rw-r--r--gtk/gtk_print.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/gtk/gtk_print.c b/gtk/gtk_print.c
index 5828ead75..19ed8e867 100644
--- a/gtk/gtk_print.c
+++ b/gtk/gtk_print.c
@@ -77,8 +77,6 @@ static void nsgtk_print_set_dashed(void); /**< Set for drawing dashed lines */
static void nsgtk_print_set_colour(colour c);
-static void nsgtk_print_plot_caret(int x, int y, int h);
-
static bool gtk_print_font_paint(const struct css_style *style,
const char *string, size_t length,
@@ -430,7 +428,6 @@ void nsgtk_print_set_solid()
void nsgtk_print_set_dotted()
{
double cdashes = 1;
- gint8 dashes[] = { 1, 1 };
cairo_set_dash(gtk_print_current_cr, &cdashes, 1, 0);
@@ -439,7 +436,6 @@ void nsgtk_print_set_dotted()
void nsgtk_print_set_dashed()
{
double cdashes = 3;
- gint8 dashes[] = { 3, 3 };
cairo_set_dash(gtk_print_current_cr, &cdashes, 1, 0);
}
@@ -453,9 +449,6 @@ bool gtk_print_font_paint(const struct css_style *style,
gint size;
PangoLayoutLine *line;
- int width, height;
-
-
if (length == 0)
return true;