[clutter/wip/wayland: 11/45] wayland-surface: remove unused damage array
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter/wip/wayland: 11/45] wayland-surface: remove unused damage array
- Date: Wed, 22 Feb 2012 18:00:37 +0000 (UTC)
commit 7d7c6a030281e060fd5324a77440199388715df9
Author: Robert Bragg <robert linux intel com>
Date: Mon Jan 9 19:09:43 2012 +0000
wayland-surface: remove unused damage array
There was a GArray member named damage that wasn't being used which this
patch removes.
clutter/wayland/clutter-wayland-surface.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/clutter/wayland/clutter-wayland-surface.c b/clutter/wayland/clutter-wayland-surface.c
index 27ad3d0..667f117 100644
--- a/clutter/wayland/clutter-wayland-surface.c
+++ b/clutter/wayland/clutter-wayland-surface.c
@@ -73,7 +73,6 @@ struct _ClutterWaylandSurfacePrivate
CoglTexture2D *buffer;
int width, height;
CoglPipeline *pipeline;
- GArray *damage;
};
G_DEFINE_TYPE (ClutterWaylandSurface,
@@ -163,7 +162,6 @@ clutter_wayland_surface_init (ClutterWaylandSurface *self)
priv->surface = NULL;
priv->width = 0;
priv->height = 0;
- priv->damage = g_array_new (FALSE, FALSE, sizeof (int));
self->priv = priv;
@@ -176,12 +174,6 @@ clutter_wayland_surface_dispose (GObject *object)
ClutterWaylandSurface *self = CLUTTER_WAYLAND_SURFACE (object);
ClutterWaylandSurfacePrivate *priv = self->priv;
- if (priv->damage)
- {
- g_array_free (priv->damage, TRUE);
- priv->damage = NULL;
- }
-
G_OBJECT_CLASS (clutter_wayland_surface_parent_class)->dispose (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]