[gimp] app: minor coding-style cleanup.



commit 5c56f8cb3a8936d01284a2aa3e5f39806be1a643
Author: Jehan <jehan girinstud io>
Date:   Thu Aug 2 12:55:00 2018 +0200

    app: minor coding-style cleanup.
    
    Adding spaces between function names and parenthese.
    
    I would normally have just amended the contributed patches and pushed,
    but gitlab is making our review process over-complicated with many
    roundtrips with contributors, and review quality drops. Stating it here
    for the records!
    See commit 70945b896008f2cdb2c62de52e17cbad8e894520 (where this cleaning
    should have directly been done).

 app/text/gimptextlayer.c | 4 ++--
 app/tools/gimptexttool.c | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/app/text/gimptextlayer.c b/app/text/gimptextlayer.c
index 13494e83f2..1181339083 100644
--- a/app/text/gimptextlayer.c
+++ b/app/text/gimptextlayer.c
@@ -631,9 +631,9 @@ gimp_text_layer_text_changed (GimpTextLayer *layer)
       GimpTextDirection   old_base_dir = layer->private->base_dir;
       GimpTextDirection   new_base_dir = layer->text->base_dir;
 
-      old_width = gimp_item_get_width(item);
+      old_width = gimp_item_get_width (item);
       gimp_text_layer_render (layer);
-      new_width = gimp_item_get_width(item);
+      new_width = gimp_item_get_width (item);
 
       if (old_base_dir != new_base_dir)
         {
diff --git a/app/tools/gimptexttool.c b/app/tools/gimptexttool.c
index f9a7c113b7..0a48b1a4a2 100644
--- a/app/tools/gimptexttool.c
+++ b/app/tools/gimptexttool.c
@@ -1615,7 +1615,7 @@ gimp_text_tool_create_layer (GimpTextTool *text_tool,
           (text_tool->text->base_dir == GIMP_TEXT_DIRECTION_TTB_RTL ||
            text_tool->text->base_dir == GIMP_TEXT_DIRECTION_TTB_RTL_UPRIGHT))
         {
-          x1 -= gimp_item_get_width(GIMP_ITEM (layer));
+          x1 -= gimp_item_get_width (GIMP_ITEM (layer));
         }
     }
   gimp_item_set_offset (GIMP_ITEM (layer), x1, y1);


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