From 86e73f86c2dafc1211fdb3312ba0c8bb0b6e8f04 Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Thu, 16 Dec 2010 11:34:02 +0100 Subject: Rename LdDocument* to LdDiagram*. My bad; this name is much more appropriate. --- src/ld-canvas.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ld-canvas.h') diff --git a/src/ld-canvas.h b/src/ld-canvas.h index 037e727..6f2c1db 100644 --- a/src/ld-canvas.h +++ b/src/ld-canvas.h @@ -65,14 +65,14 @@ GType ld_canvas_get_type (void) G_GNUC_CONST; LdCanvas *ld_canvas_new (void); -void ld_canvas_set_document (LdCanvas *self, LdDocument *document); -LdDocument *ld_canvas_get_document (LdCanvas *self); +void ld_canvas_set_diagram (LdCanvas *self, LdDiagram *diagram); +LdDiagram *ld_canvas_get_diagram (LdCanvas *self); void ld_canvas_set_library (LdCanvas *self, LdLibrary *library); LdLibrary *ld_canvas_get_library (LdCanvas *self); void ld_canvas_translate_canvas_coordinates (LdCanvas *self, gdouble *x, gdouble *y); -void ld_canvas_translate_document_coordinates (LdCanvas *self, +void ld_canvas_translate_diagram_coordinates (LdCanvas *self, gdouble *x, gdouble *y); /* TODO: The rest of the interface. */ -- cgit v1.2.3-70-g09d2