[gegl] s/gegl_buffer_destroy/g_object_unref



commit 1d4b6d5be6c12f18c57306c595326585d26265d6
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Thu Mar 29 21:52:53 2012 +0100

    s/gegl_buffer_destroy/g_object_unref

 operations/workshop/warp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/operations/workshop/warp.c b/operations/workshop/warp.c
index b039890..a38b9d6 100644
--- a/operations/workshop/warp.c
+++ b/operations/workshop/warp.c
@@ -354,7 +354,7 @@ process (GeglOperation       *operation,
   /* Affect the output buffer */
   gegl_buffer_copy (priv->buffer, result, output, result);
   gegl_buffer_set_extent (output, gegl_buffer_get_extent (input));
-  gegl_buffer_destroy (priv->buffer);
+  g_object_unref (priv->buffer);
 
   /* prepare for the recomputing of the op */
   priv->last_point_set = FALSE;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]