From 95c852e0b3ed530a5a854a87588214b1d2b6240b Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 17 Oct 2010 15:12:20 +0200 Subject: gnome-canvas: Remove pangoft2 requirement It's not really necessary to pull in libs for an unused variable, now is it? --- libgnomecanvas/gnome-canvas-text.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'libgnomecanvas/gnome-canvas-text.c') diff --git a/libgnomecanvas/gnome-canvas-text.c b/libgnomecanvas/gnome-canvas-text.c index 86c09eddaa..a59544f36c 100644 --- a/libgnomecanvas/gnome-canvas-text.c +++ b/libgnomecanvas/gnome-canvas-text.c @@ -39,7 +39,6 @@ #include #include #include "gnome-canvas-text.h" -#include #include "gnome-canvas-util.h" #include "gnome-canvas-i18n.h" @@ -96,7 +95,6 @@ enum { struct _GnomeCanvasTextPrivate { guint render_dirty : 1; - FT_Bitmap bitmap; }; static void gnome_canvas_text_class_init (GnomeCanvasTextClass *class); @@ -524,7 +522,6 @@ gnome_canvas_text_init (GnomeCanvasText *text) text->rise_set = FALSE; text->priv = g_new (GnomeCanvasTextPrivate, 1); - text->priv->bitmap.buffer = NULL; text->priv->render_dirty = 1; } @@ -556,9 +553,6 @@ gnome_canvas_text_destroy (GnomeCanvasItem *object) pango_attr_list_unref (text->attr_list); text->attr_list = NULL; - if (text->priv && text->priv->bitmap.buffer) { - g_free (text->priv->bitmap.buffer); - } g_free (text->priv); text->priv = NULL; -- cgit v1.2.3