summaryrefslogtreecommitdiff
path: root/gtk/gtk_print.c
diff options
context:
space:
mode:
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;