[librsvg] Move definition to rsvg-filter.c



commit 9cc9d6faabb82bb1cf3320239a44ad79fc45a64b
Author: Christian Persch <chpe gnome org>
Date:   Sun Nov 27 22:57:21 2011 +0100

    Move definition to rsvg-filter.c
    
    Since that's the only place it's used.

 rsvg-filter.h  |    4 ++++
 rsvg-private.h |    5 -----
 2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/rsvg-filter.h b/rsvg-filter.h
index 0aa67ca..dfbe2d7 100644
--- a/rsvg-filter.h
+++ b/rsvg-filter.h
@@ -31,6 +31,10 @@
 
 G_BEGIN_DECLS 
 
+typedef struct  {
+    int x0, y0, x1, y1;
+} RsvgIRect;
+
 typedef RsvgCoordUnits RsvgFilterUnits;
 
 struct _RsvgFilter {
diff --git a/rsvg-private.h b/rsvg-private.h
index bb99b2b..4e7fc73 100644
--- a/rsvg-private.h
+++ b/rsvg-private.h
@@ -53,7 +53,6 @@ typedef struct _RsvgDefs RsvgDefs;
 typedef struct _RsvgNode RsvgNode;
 typedef struct _RsvgFilter RsvgFilter;
 typedef struct _RsvgNodeChars RsvgNodeChars;
-typedef struct _RsvgIRect RsvgIRect;
 
 /* prepare for gettext */
 #ifndef _
@@ -242,10 +241,6 @@ typedef struct {
     char factor;
 } RsvgLength;
 
-struct _RsvgIRect {
-    int x0, y0, x1, y1;
-};
-
 typedef struct {
     cairo_rectangle_t rect;
     cairo_matrix_t affine;



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