[gegl] Remove unused path property from TileStorage
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Remove unused path property from TileStorage
- Date: Tue, 21 Jan 2014 22:31:42 +0000 (UTC)
commit 88a48024e779745f934d966a6ba59d1d8ddea5dc
Author: Daniel Sabo <DanielSabo gmail com>
Date: Tue Jan 21 12:19:47 2014 -0800
Remove unused path property from TileStorage
gegl/buffer/gegl-tile-storage.c | 7 -------
gegl/buffer/gegl-tile-storage.h | 1 -
2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gegl/buffer/gegl-tile-storage.c b/gegl/buffer/gegl-tile-storage.c
index 360e010..26184b0 100644
--- a/gegl/buffer/gegl-tile-storage.c
+++ b/gegl/buffer/gegl-tile-storage.c
@@ -68,11 +68,6 @@ gegl_tile_storage_new (GeglTileBackend *backend)
tile_storage->width = G_MAXINT;
tile_storage->height = G_MAXINT;
- if (g_object_class_find_property (G_OBJECT_GET_CLASS (backend), "path"))
- {
- g_object_get (backend, "path", &tile_storage->path, NULL);
- }
-
tile_handler_chain = GEGL_TILE_HANDLER_CHAIN (tile_storage);
handler = GEGL_TILE_HANDLER (tile_storage);
@@ -142,8 +137,6 @@ gegl_tile_storage_finalize (GObject *object)
{
GeglTileStorage *self = GEGL_TILE_STORAGE (object);
- if (self->path)
- g_free (self->path);
g_mutex_clear (&self->mutex);
(*G_OBJECT_CLASS (parent_class)->finalize)(object);
diff --git a/gegl/buffer/gegl-tile-storage.h b/gegl/buffer/gegl-tile-storage.h
index 4da6169..ded30e1 100644
--- a/gegl/buffer/gegl-tile-storage.h
+++ b/gegl/buffer/gegl-tile-storage.h
@@ -48,7 +48,6 @@ struct _GeglTileStorage
gint px_size;
gint width;
gint height;
- gchar *path;
gint seen_zoom; /* the maximum zoom level we've seen tiles for */
GeglTile *hot_tile; /* cached tile for speeding up gegl_buffer_get_pixel
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]