[librsvg/rustification] rsvg-marker: Move the RsvgMarker declarations inside the private .c file



commit c0263bdd8894f6a41e80715967b122c2435198a8
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Oct 27 21:49:32 2016 -0500

    rsvg-marker: Move the RsvgMarker declarations inside the private .c file
    
    They are private anyway; and only used within that file.

 rsvg-marker.c |   12 ++++++++++++
 rsvg-marker.h |   12 ------------
 2 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/rsvg-marker.c b/rsvg-marker.c
index bcca6d7..dc97b46 100644
--- a/rsvg-marker.c
+++ b/rsvg-marker.c
@@ -40,6 +40,18 @@
 #include <math.h>
 #include <errno.h>
 
+typedef struct _RsvgMarker RsvgMarker;
+
+struct _RsvgMarker {
+    RsvgNode super;
+    gboolean bbox;
+    RsvgLength refX, refY, width, height;
+    double orient;
+    gint preserve_aspect_ratio;
+    gboolean orientAuto;
+    RsvgViewBox vbox;
+};
+
 static void
 rsvg_node_marker_set_atts (RsvgNode * self, RsvgHandle * ctx, RsvgPropertyBag * atts)
 {
diff --git a/rsvg-marker.h b/rsvg-marker.h
index e4e6726..1390039 100644
--- a/rsvg-marker.h
+++ b/rsvg-marker.h
@@ -30,18 +30,6 @@
 
 G_BEGIN_DECLS 
 
-typedef struct _RsvgMarker RsvgMarker;
-
-struct _RsvgMarker {
-    RsvgNode super;
-    gboolean bbox;
-    RsvgLength refX, refY, width, height;
-    double orient;
-    gint preserve_aspect_ratio;
-    gboolean orientAuto;
-    RsvgViewBox vbox;
-};
-
 G_GNUC_INTERNAL
 RsvgNode    *rsvg_new_marker       (void);
 G_GNUC_INTERNAL


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