summaryrefslogtreecommitdiff
path: root/plugins/gtkui
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gtkui')
-rw-r--r--plugins/gtkui/gdkdrawing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gtkui/gdkdrawing.c b/plugins/gtkui/gdkdrawing.c
index 9a86f2b4..41967bb8 100644
--- a/plugins/gtkui/gdkdrawing.c
+++ b/plugins/gtkui/gdkdrawing.c
@@ -53,7 +53,7 @@ draw_set_fg_color (float *rgb) {
void
draw_line (float x1, float y1, float x2, float y2) {
cairo_move_to (drawable, x1, y1);
- cairo_move_to (drawable, x2, y2);
+ cairo_line_to (drawable, x2, y2);
cairo_stroke (drawable);
}