[gegl] gegl: fix some typos and trailing whitespaces.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl: fix some typos and trailing whitespaces.
- Date: Fri, 16 Jun 2017 15:32:00 +0000 (UTC)
commit 561a1ae5ef344629dc55109f5b2cac4d17a2774b
Author: Jehan <jehan girinstud io>
Date: Fri Jun 16 17:30:53 2017 +0200
gegl: fix some typos and trailing whitespaces.
gegl/buffer/gegl-buffer.c | 4 ++--
gegl/buffer/gegl-buffer.h | 8 ++++----
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gegl/buffer/gegl-buffer.c b/gegl/buffer/gegl-buffer.c
index b233778..9567868 100644
--- a/gegl/buffer/gegl-buffer.c
+++ b/gegl/buffer/gegl-buffer.c
@@ -1118,7 +1118,7 @@ gegl_buffer_try_lock (GeglBuffer *buffer)
GeglTileBackend *backend = gegl_buffer_backend (buffer);
gboolean threaded = gegl_config_threads ()>1;
-
+
if (threaded)
g_mutex_lock (&buffer->tile_storage->mutex);
if (buffer->lock_count > 0)
@@ -1197,7 +1197,7 @@ glong gegl_buffer_signal_connect (GeglBuffer *buffer,
{
buffer->changed_signal_connections++;
return g_signal_connect(buffer, detailed_signal, c_handler, data);
-}
+}
GeglTile *
gegl_buffer_get_tile (GeglBuffer *buffer,
diff --git a/gegl/buffer/gegl-buffer.h b/gegl/buffer/gegl-buffer.h
index a7b9fb1..83c4f0d 100644
--- a/gegl/buffer/gegl-buffer.h
+++ b/gegl/buffer/gegl-buffer.h
@@ -316,7 +316,7 @@ void gegl_buffer_set_pattern (GeglBuffer *buffer,
*
* Get the babl format of the buffer, this might not be the format the buffer
* was originally created with, you need to use gegl_buffer_set_format (buf,
- * NULL); to retireve the original format (potentially having save away the
+ * NULL); to retrieve the original format (potentially having saved away the
* original format of the buffer to re-set it.)
*
* Returns: the babl format used for storing pixels in the buffer.
@@ -335,7 +335,7 @@ const Babl * gegl_buffer_get_format (GeglBuffer *buffer);
* original format. If NULL is passed in the format of the buffer is reset to
* the original format.
*
- * Returns: the new babl format or NULL if it the passed in buffer was
+ * Returns: the new babl format or NULL if the passed-in buffer was
* incompatible (then the original format is still used).
*/
const Babl * gegl_buffer_set_format (GeglBuffer *buffer,
@@ -347,7 +347,7 @@ const Babl * gegl_buffer_set_format (GeglBuffer *buffer,
* @roi: a rectangular region
*
* Clears the provided rectangular region by setting all the associated memory
- * to 0
+ * to 0.
*/
void gegl_buffer_clear (GeglBuffer *buffer,
const GeglRectangle *roi);
@@ -362,7 +362,7 @@ void gegl_buffer_clear (GeglBuffer *buffer,
* @dst_rect: position of upper left destination pixel, or NULL for top
* left coordinates of the buffer extents.
*
- * copies a region from source buffer to destination buffer.
+ * Copy a region from source buffer to destination buffer.
*
* If the babl_formats of the buffers are the same, and the tile boundaries
* align, this will create copy-on-write tiles in the destination buffer.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]