Code

Unify stat type for older glib.
[inkscape.git] / src / star-context.h
index 6ad7025c0753d7e96d3f7661b73c76926fa270c1..024bf8d74940499d69b478a3cdb14fab48504b1e 100644 (file)
@@ -17,7 +17,6 @@
 #include <sigc++/sigc++.h>
 #include "event-context.h"
 #include "libnr/nr-point.h"
-struct SPKnotHolder;
 
 #define SP_TYPE_STAR_CONTEXT (sp_star_context_get_type ())
 #define SP_STAR_CONTEXT(obj) (GTK_CHECK_CAST ((obj), SP_TYPE_STAR_CONTEXT, SPStarContext))
@@ -29,27 +28,27 @@ class SPStarContext;
 class SPStarContextClass;
 
 struct SPStarContext : public SPEventContext {
-       SPItem *item;
-       NR::Point center;
-
-       /* Number of corners */
-       gint magnitude;
-       /* Outer/inner radius ratio */
-       gdouble proportion;
-       /* flat sides or not? */
-       bool isflatsided;
-       /* rounded corners ratio */
-       gdouble rounded;
-       // randomization
-       gdouble randomized;
+    SPItem *item;
+    Geom::Point center;
+
+    /* Number of corners */
+    gint magnitude;
+    /* Outer/inner radius ratio */
+    gdouble proportion;
+    /* flat sides or not? */
+    bool isflatsided;
+    /* rounded corners ratio */
+    gdouble rounded;
+    // randomization
+    gdouble randomized;
 
     sigc::connection sel_changed_connection;
 
-       Inkscape::MessageContext *_message_context;
+    Inkscape::MessageContext *_message_context;
 };
 
 struct SPStarContextClass {
-       SPEventContextClass parent_class;
+    SPEventContextClass parent_class;
 };
 
 GtkType sp_star_context_get_type (void);