[gegl] Fix a typo in both user-visible messages and variable names
- From: Alexandre Prokoudine <aprokoudine src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Fix a typo in both user-visible messages and variable names
- Date: Sun, 10 Jan 2016 02:32:36 +0000 (UTC)
commit 58ae3b3edc535ae36bd909206465365785433dee
Author: Alexandre Prokoudine <alexandre prokoudine gmail com>
Date: Sun Jan 10 05:26:01 2016 +0300
Fix a typo in both user-visible messages and variable names
operations/common/maze.c | 10 +++++-----
operations/common/noise-solid.c | 8 ++++----
2 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/operations/common/maze.c b/operations/common/maze.c
index d557a42..d67fd29 100644
--- a/operations/common/maze.c
+++ b/operations/common/maze.c
@@ -60,7 +60,7 @@ property_enum (algorithm_type, _("Algorithm type"),
GEGL_MAZE_ALGORITHM_DEPTH_FIRST)
description (_("Maze algorithm type"))
-property_boolean (tilable, _("Tilable"), FALSE)
+property_boolean (tileable, _("Tileable"), FALSE)
property_seed (seed, _("Random seed"), rand)
@@ -617,7 +617,7 @@ process (GeglOperation *operation,
gr = g_rand_new ();
- if (o->tilable)
+ if (o->tileable)
{
/* Tileable mazes must be even. */
mw -= (mw & 1);
@@ -636,7 +636,7 @@ process (GeglOperation *operation,
switch (o->algorithm_type)
{
case GEGL_MAZE_ALGORITHM_DEPTH_FIRST:
- if (o->tilable)
+ if (o->tileable)
{
depth_first_tileable (0, maz, mw, mh, o->seed);
}
@@ -647,7 +647,7 @@ process (GeglOperation *operation,
break;
case GEGL_MAZE_ALGORITHM_PRIM:
- if (o->tilable)
+ if (o->tileable)
{
prim_tileable (maz, mw, mh, o->seed);
}
@@ -696,7 +696,7 @@ process (GeglOperation *operation,
}
}
- if (! o->tilable)
+ if (! o->tileable)
{
/* last row */
for (tile.y = in_extent->height-tile.height, tile.x = offset_x;
diff --git a/operations/common/noise-solid.c b/operations/common/noise-solid.c
index efd96db..df7b1ed 100644
--- a/operations/common/noise-solid.c
+++ b/operations/common/noise-solid.c
@@ -53,8 +53,8 @@ property_int (detail, _("Detail"), 1)
ui_range (0, 15)
value_range (0, 15)
-property_boolean (tilable, _("Tilable"), FALSE)
- description (_("Create a tilable output"))
+property_boolean (tileable, _("Tileable"), FALSE)
+ description (_("Create a tileable output"))
property_boolean (turbulent, _("Turbulent"), FALSE)
description (_("Make a turbulent noise"))
@@ -120,7 +120,7 @@ solid_noise_init (GeglProperties *o)
gr = g_rand_new_with_seed (o->seed);
/* Set scaling factors */
- if (o->tilable)
+ if (o->tileable)
{
params->xsize = ceil (o->x_size);
params->ysize = ceil (o->y_size);
@@ -201,7 +201,7 @@ plain_noise (gdouble x,
{
for (j = 0; j < 2; j++)
{
- if (o->tilable)
+ if (o->tileable)
n = p->perm_tab[(((a + i) % (p->xclip * s)) + p->perm_tab[((b + j) % (p->yclip * s)) %
TABLE_SIZE]) % TABLE_SIZE];
else
n = p->perm_tab[(a + i + p->perm_tab[(b + j) % TABLE_SIZE]) % TABLE_SIZE];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]