[gegl] buffer: make gegl-tile-handler-zoom be an object again
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] buffer: make gegl-tile-handler-zoom be an object again
- Date: Thu, 22 Jul 2010 11:32:19 +0000 (UTC)
commit 8494943709c2fc01caf39d7cc2cd3cb68808daa5
Author: �yvind Kolås <pippin gimp org>
Date: Thu Jul 22 12:30:19 2010 +0100
buffer: make gegl-tile-handler-zoom be an object again
By accident the slimming down of GeglBuffer internals went too far.
gegl/buffer/gegl-tile-handler-zoom.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gegl/buffer/gegl-tile-handler-zoom.c b/gegl/buffer/gegl-tile-handler-zoom.c
index 442a953..cc51b5c 100644
--- a/gegl/buffer/gegl-tile-handler-zoom.c
+++ b/gegl/buffer/gegl-tile-handler-zoom.c
@@ -322,8 +322,7 @@ gegl_tile_handler_zoom_new (GeglTileBackend *backend,
GeglTileStorage *tile_storage,
GeglTileHandlerCache *cache)
{
- GeglTileHandlerZoom *ret;
- ret = g_malloc0 (sizeof (GeglTileHandlerZoom));
+ GeglTileHandlerZoom *ret = g_object_new (GEGL_TYPE_TILE_HANDLER_ZOOM, NULL);
((GeglTileSource*)ret)->command = gegl_tile_handler_zoom_command;
ret->backend = backend;
ret->tile_storage = tile_storage;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]