[gegl-gtk] Examples: Update gegl-gtk-warp to work with GEGL 0.2.0+



commit 5ed13ed1cf2df8ded5b248b1094986f78e4f6414
Author: Jon Nordby <jononor gmail com>
Date:   Thu Apr 12 15:47:41 2012 +0200

    Examples: Update gegl-gtk-warp to work with GEGL 0.2.0+

 examples/c/gegl-gtk-warp.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/examples/c/gegl-gtk-warp.c b/examples/c/gegl-gtk-warp.c
index 23aed5d..1f281ae 100644
--- a/examples/c/gegl-gtk-warp.c
+++ b/examples/c/gegl-gtk-warp.c
@@ -195,8 +195,8 @@ main (gint    argc,
 
   gtk_main ();
   g_object_unref (graph);
-  gegl_buffer_destroy (original_buffer);
-  gegl_buffer_destroy (coords_buffer);
+  g_object_unref (original_buffer);
+  g_object_unref (coords_buffer);
 
   gegl_exit ();
   return 0;



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