[gegl] tile-glass: replace camel case



commit 39ce5a64fe35c5d3fe90f8b56ed9daf32417f97e
Author: Øyvind Kolås <pippin gimp org>
Date:   Fri May 16 22:06:48 2014 +0200

    tile-glass: replace camel case

 operations/common/tile-glass.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/operations/common/tile-glass.c b/operations/common/tile-glass.c
index edf5565..e71ee68 100644
--- a/operations/common/tile-glass.c
+++ b/operations/common/tile-glass.c
@@ -25,14 +25,14 @@
 
 #ifdef GEGL_PROPERTIES
 
-gegl_property_int (tileWidth, "nick", _("Tile Width"),
+gegl_property_int (tile_width, "nick", _("Tile Width"),
    "default", 25, "min", 10, "max", 500,
    "ui-max",  50,
    "unit",   "pixel-distance",
    "axis",   "x",
    NULL)
 
-gegl_property_int (tileHeight, "nick", _("Tile Height"),
+gegl_property_int (tile_height, "nick", _("Tile Height"),
    "default", 25, "min", 10, "max", 500,
    "ui-max",  50,
    "unit",    "pixel-distance",
@@ -63,8 +63,8 @@ prepare (GeglOperation *operation)
   else
     format = babl_format ("R'G'B' float");
 
-  area->left = area->right = o->tileWidth - 1;
-  area->top = area->bottom = o->tileHeight - 1;
+  area->left = area->right = o->tile_width - 1;
+  area->top = area->bottom = o->tile_height - 1;
 
   gegl_operation_set_format (operation, "input", format);
   gegl_operation_set_format (operation, "output", format);
@@ -212,7 +212,7 @@ process (GeglOperation       *operation,
   GeglProperties *o = GEGL_PROPERTIES (operation);
   const Babl *format = gegl_operation_get_format (operation, "input");
 
-  tile_glass (input, output, result, format, o->tileWidth, o->tileHeight);
+  tile_glass (input, output, result, format, o->tile_width, o->tile_height);
 
   return TRUE;
 }


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