From 2cb570f89496e21aa7290c9b100f5d32683bf2cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=99emysl=20Janouch?= Date: Mon, 3 Jan 2011 05:57:22 +0100 Subject: Split in-out parameters into separate in and out. In functions: ld_canvas_diagram_to_widget_coords() ld_canvas_widget_to_diagram_coords() --- src/ld-canvas.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ld-canvas.h') diff --git a/src/ld-canvas.h b/src/ld-canvas.h index 435163a..bb41b3d 100644 --- a/src/ld-canvas.h +++ b/src/ld-canvas.h @@ -71,9 +71,9 @@ void ld_canvas_set_library (LdCanvas *self, LdLibrary *library); LdLibrary *ld_canvas_get_library (LdCanvas *self); void ld_canvas_widget_to_diagram_coords (LdCanvas *self, - gdouble *x, gdouble *y); + gdouble wx, gdouble wy, gdouble *dx, gdouble *dy); void ld_canvas_diagram_to_widget_coords (LdCanvas *self, - gdouble *x, gdouble *y); + gdouble dx, gdouble dy, gdouble *wx, gdouble *wy); /* TODO: The rest of the interface. */ -- cgit v1.2.3