summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2011-10-13 23:30:28 -0700
committerBenjamin Otte <otte@redhat.com>2011-10-15 00:06:22 -0700
commit0896c30a81d56cb7216ca51d5547c7eeb766e469 (patch)
tree6991fe03b8875602321bb9777b80161e0d95778e
parentcd2dee7944d9c1a84a85421cc82f32a2d211b500 (diff)
graphic: Remove last traces of cache
-rw-r--r--libgame/game-graphic.c3
-rw-r--r--libgame/game-graphic.h3
2 files changed, 0 insertions, 6 deletions
diff --git a/libgame/game-graphic.c b/libgame/game-graphic.c
index b02d541..536bbca 100644
--- a/libgame/game-graphic.c
+++ b/libgame/game-graphic.c
@@ -115,9 +115,6 @@ game_graphic_copy (GameObject *odest, GameObject *osrc)
GameGraphic *src = GAME_GRAPHIC (osrc);
dest->rect = src->rect;
- dest->cache = src->cache;
- if (dest->cache)
- cairo_pattern_reference (dest->cache);
return GAME_OBJECT_CLASS (parent_class)->copy (odest, osrc);
}
diff --git a/libgame/game-graphic.h b/libgame/game-graphic.h
index 3bba527..d0e9010 100644
--- a/libgame/game-graphic.h
+++ b/libgame/game-graphic.h
@@ -44,9 +44,6 @@ struct _GameGraphic {
/*< protected >*/
GameRectangle rect;
-
- /*< private >*/
- cairo_pattern_t * cache;
};
struct _GameGraphicClass {