summaryrefslogtreecommitdiffstats
path: root/ganv
diff options
context:
space:
mode:
Diffstat (limited to 'ganv')
-rw-r--r--ganv/Canvas.hpp2
-rw-r--r--ganv/canvas.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/ganv/Canvas.hpp b/ganv/Canvas.hpp
index 7d12286..bee0b22 100644
--- a/ganv/Canvas.hpp
+++ b/ganv/Canvas.hpp
@@ -55,7 +55,7 @@ public:
Canvas(double width, double height);
virtual ~Canvas();
- METHOD0(ganv_canvas, destroy);
+ METHOD0(ganv_canvas, clear);
METHOD0(ganv_canvas, clear_selection);
METHOD0(ganv_canvas, select_all);
METHOD0(ganv_canvas, get_zoom);
diff --git a/ganv/canvas.h b/ganv/canvas.h
index bac6597..cda7c1a 100644
--- a/ganv/canvas.h
+++ b/ganv/canvas.h
@@ -209,11 +209,11 @@ ganv_canvas_for_each_edge_on(GanvCanvas* canvas,
void* data);
/**
- * ganv_canvas_destroy:
+ * ganv_canvas_clear:
* Remove all items from the canvas.
*/
void
-ganv_canvas_destroy(GanvCanvas* canvas);
+ganv_canvas_clear(GanvCanvas* canvas);
/**
* ganv_canvas_select_all: