[gegl] coding style



commit 9da3efc6735796cd841ad7014dbfcd39796a54f6
Author: Daniel Sabo <DanielSabo gmail com>
Date:   Wed Sep 18 12:39:42 2013 -0700

    coding style

 gegl/buffer/gegl-buffer-access.c |   13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer-access.c b/gegl/buffer/gegl-buffer-access.c
index 752b063..8b85db6 100644
--- a/gegl/buffer/gegl-buffer-access.c
+++ b/gegl/buffer/gegl-buffer-access.c
@@ -1260,10 +1260,10 @@ gegl_buffer_set_unlocked (GeglBuffer          *buffer,
 
 void
 gegl_buffer_set_unlocked_no_notify (GeglBuffer          *buffer,
-                          const GeglRectangle *rect,
-                          const Babl          *format,
-                          const void          *src,
-                          gint                 rowstride)
+                                    const GeglRectangle *rect,
+                                    const Babl          *format,
+                                    const void          *src,
+                                    gint                 rowstride)
 {
   if (format == NULL)
     format = buffer->soft_format;
@@ -1280,9 +1280,10 @@ gegl_buffer_set_unlocked_no_notify (GeglBuffer          *buffer,
     }
   else
 #endif
-    gegl_buffer_iterate_write (buffer, rect, (void *) src, rowstride, format, 0);
 
-  if (gegl_buffer_is_shared(buffer))
+  gegl_buffer_iterate_write (buffer, rect, (void *) src, rowstride, format, 0);
+
+  if (gegl_buffer_is_shared (buffer))
     {
       gegl_buffer_flush (buffer);
     }


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