[librsvg] Make some functions static



commit 5a9fb9e348ca8ebe182797d5750dea60a37357ea
Author: Christian Persch <chpe gnome org>
Date:   Sat Nov 26 23:58:13 2011 +0100

    Make some functions static

 rsvg-filter.c |    4 ++--
 rsvg-filter.h |    7 -------
 2 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/rsvg-filter.c b/rsvg-filter.c
index dba9796..1c66f4e 100644
--- a/rsvg-filter.c
+++ b/rsvg-filter.c
@@ -244,7 +244,7 @@ rsvg_filter_fix_coordinate_system (RsvgFilterContext * ctx, RsvgState * state, R
     }
 }
 
-void
+static void
 rsvg_alpha_blt (GdkPixbuf * src, gint srcx, gint srcy, gint srcwidth,
                 gint srcheight, GdkPixbuf * dst, gint dstx, gint dsty)
 {
@@ -343,7 +343,7 @@ rsvg_alpha_blt (GdkPixbuf * src, gint srcx, gint srcy, gint srcwidth,
         }
 }
 
-void
+static void
 rsvg_art_affine_image (const GdkPixbuf * img, GdkPixbuf * intermediate,
                        cairo_matrix_t *affine, double w, double h)
 {
diff --git a/rsvg-filter.h b/rsvg-filter.h
index 75e9bb0..0aa67ca 100644
--- a/rsvg-filter.h
+++ b/rsvg-filter.h
@@ -28,7 +28,6 @@
 
 #include "rsvg.h"
 #include "rsvg-defs.h"
-#include <libxml/SAX.h>
 
 G_BEGIN_DECLS 
 
@@ -70,12 +69,6 @@ RsvgNode    *rsvg_new_node_light_source	                    (char type);
 RsvgNode    *rsvg_new_filter_primitive_specular_lighting    (void);
 RsvgNode    *rsvg_new_filter_primitive_tile                 (void);
 
-void         rsvg_alpha_blt         (GdkPixbuf * src, gint srcx, gint srcy,
-                                     gint srcwidth, gint srcheight,
-                                     GdkPixbuf * dst, gint dstx, gint dsty);
-void         rsvg_art_affine_image	(const GdkPixbuf * img, GdkPixbuf * intermediate,
-                                     cairo_matrix_t *affine, double w, double h);
-
 G_END_DECLS
 
 #endif



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