[gegl/soc-2012-editor: 24/36] Small changes



commit 9db14c5178784e74a62b4c2df0f8635b5385c8e1
Author: Isaac Wagner <isaacbw src gnome org>
Date:   Thu Jun 28 09:57:46 2012 -0400

    Small changes

 bin/editor/gegl-editor-layer.c |    2 ++
 bin/editor/gegl-node-widget.c  |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/bin/editor/gegl-editor-layer.c b/bin/editor/gegl-editor-layer.c
index 560eb2b..88f19c9 100644
--- a/bin/editor/gegl-editor-layer.c
+++ b/bin/editor/gegl-editor-layer.c
@@ -15,6 +15,8 @@ void refresh_images(GeglEditorLayer* self)
       const Babl	*cairo_argb32 = babl_format("cairo-ARGB32");
 
       const GeglRectangle	roi = gegl_node_get_bounding_box(GEGL_NODE(data->node));
+      g_print("Rect: %dx%d\n", roi.x, roi.y);
+
       if(roi.width == 0 || roi.height == 0)
 	{
 	  g_print("Empty rectangle: %s\n", gegl_node_get_operation(GEGL_NODE(data->node)));
diff --git a/bin/editor/gegl-node-widget.c b/bin/editor/gegl-node-widget.c
index 13e6d28..e3f0c44 100644
--- a/bin/editor/gegl-node-widget.c
+++ b/bin/editor/gegl-node-widget.c
@@ -672,6 +672,6 @@ void gegl_editor_set_node_image(GeglEditor* self, gint node_id, cairo_surface_t*
       cairo_surface_finish(node->image);
       guchar* buf = cairo_image_surface_get_data(node->image);
       free(buf);
-    }
+   } 
   node->image = image;
 }



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