[gimp/goat-invasion: 58/418] app: remove empty functions paint_funcs_setup()/free()



commit 98c9febd7fe04c153b4d474d94704dc04faf07fe
Author: Michael Natterer <mitch gimp org>
Date:   Thu Mar 15 21:16:26 2012 +0100

    app: remove empty functions paint_funcs_setup()/free()

 app/base/base.c               |    4 ----
 app/paint-funcs/paint-funcs.c |   10 ----------
 app/paint-funcs/paint-funcs.h |    5 -----
 3 files changed, 0 insertions(+), 19 deletions(-)
---
diff --git a/app/base/base.c b/app/base/base.c
index 9d32454..b482623 100644
--- a/app/base/base.c
+++ b/app/base/base.c
@@ -34,7 +34,6 @@
 
 #include "config/gimpbaseconfig.h"
 
-#include "paint-funcs/paint-funcs.h"
 #include "composite/gimp-composite.h"
 
 #include "base.h"
@@ -107,8 +106,6 @@ base_init (GimpBaseConfig *config,
 
   gimp_composite_init (be_verbose, use_cpu_accel);
 
-  paint_funcs_setup ();
-
   return swap_is_ok;
 }
 
@@ -122,7 +119,6 @@ base_exit (void)
 #endif
 
   pixel_processor_exit ();
-  paint_funcs_free ();
   tile_cache_exit ();
   tile_swap_exit ();
 
diff --git a/app/paint-funcs/paint-funcs.c b/app/paint-funcs/paint-funcs.c
index e46778f..39d3ad3 100644
--- a/app/paint-funcs/paint-funcs.c
+++ b/app/paint-funcs/paint-funcs.c
@@ -175,16 +175,6 @@ cubic (gdouble dx,
 /*********************/
 
 void
-paint_funcs_setup (void)
-{
-}
-
-void
-paint_funcs_free (void)
-{
-}
-
-void
 combine_indexed_and_indexed_pixels (const guchar   *src1,
                                     const guchar   *src2,
                                     guchar         *dest,
diff --git a/app/paint-funcs/paint-funcs.h b/app/paint-funcs/paint-funcs.h
index 24506e6..94b3286 100644
--- a/app/paint-funcs/paint-funcs.h
+++ b/app/paint-funcs/paint-funcs.h
@@ -19,11 +19,6 @@
 #define __PAINT_FUNCS_H__
 
 
-/*  Called initially to setup rendering features  */
-void  paint_funcs_setup     (void);
-void  paint_funcs_free      (void);
-
-
 /*  Paint functions  */
 
 void  color_pixels          (guchar       *dest,



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