From 0f249d838ac74119a61e96f86d99a9fc0961498f Mon Sep 17 00:00:00 2001 From: ishmal Date: Tue, 22 Jul 2008 15:20:32 +0000 Subject: [PATCH] include . also remove const conversion warning --- src/display/canvas-text.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/display/canvas-text.cpp b/src/display/canvas-text.cpp index c38d16d65..d93fc3167 100644 --- a/src/display/canvas-text.cpp +++ b/src/display/canvas-text.cpp @@ -18,6 +18,7 @@ #include "canvas-text.h" #include "display/inkscape-cairo.h" #include +#include #ifdef HAVE_CONFIG_H # include "config.h" @@ -43,7 +44,7 @@ sp_canvastext_get_type (void) if (!type) { GtkTypeInfo info = { - "SPCanvasText", + (gchar *)"SPCanvasText", sizeof (SPCanvasText), sizeof (SPCanvasTextClass), (GtkClassInitFunc) sp_canvastext_class_init, -- 2.30.2