[gimp] app: rename gimp_brush_start_use() to gimp_brush_begin_use()



commit 391c74899c59e6b5fb8355f20061554d3927ddde
Author: Michael Natterer <mitch gimp org>
Date:   Tue Apr 12 09:06:22 2011 +0200

    app: rename gimp_brush_start_use() to gimp_brush_begin_use()

 app/core/gimpbrush.c      |    4 ++--
 app/core/gimpbrush.h      |    2 +-
 app/paint/gimpbrushcore.c |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/core/gimpbrush.c b/app/core/gimpbrush.c
index 5c07a80..4f4d7ea 100644
--- a/app/core/gimpbrush.c
+++ b/app/core/gimpbrush.c
@@ -304,7 +304,7 @@ gimp_brush_get_new_preview (GimpViewable *viewable,
 
       if (scale != 1.0)
         {
-          gimp_brush_start_use (brush);
+          gimp_brush_begin_use (brush);
 
           mask_buf = gimp_brush_transform_mask (brush, scale,
                                                 0.0, 0.0, 1.0);
@@ -738,7 +738,7 @@ gimp_brush_set_spacing (GimpBrush *brush,
 }
 
 void
-gimp_brush_start_use (GimpBrush *brush)
+gimp_brush_begin_use (GimpBrush *brush)
 {
   g_return_if_fail (GIMP_IS_BRUSH (brush));
 
diff --git a/app/core/gimpbrush.h b/app/core/gimpbrush.h
index f49aa6c..771b0af 100644
--- a/app/core/gimpbrush.h
+++ b/app/core/gimpbrush.h
@@ -140,7 +140,7 @@ gint                   gimp_brush_get_spacing        (const GimpBrush  *brush);
 void                   gimp_brush_set_spacing        (GimpBrush        *brush,
                                                       gint              spacing);
 
-void                   gimp_brush_start_use          (GimpBrush        *brush);
+void                   gimp_brush_begin_use          (GimpBrush        *brush);
 void                   gimp_brush_end_use            (GimpBrush        *brush);
 
 
diff --git a/app/paint/gimpbrushcore.c b/app/paint/gimpbrushcore.c
index 1c591ca..e97982e 100644
--- a/app/paint/gimpbrushcore.c
+++ b/app/paint/gimpbrushcore.c
@@ -855,7 +855,7 @@ gimp_brush_core_real_set_brush (GimpBrushCore *core,
   if (core->main_brush)
     {
       g_object_ref (core->main_brush);
-      gimp_brush_start_use (core->main_brush);
+      gimp_brush_begin_use (core->main_brush);
       g_signal_connect (core->main_brush, "invalidate-preview",
                         G_CALLBACK (gimp_brush_core_invalidate_cache),
                         core);



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