diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2014-08-24 15:20:54 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2014-08-24 15:20:54 +0000 |
| commit | c2a65687bd392c251a320030b0a6a813e093dc9f (patch) | |
| tree | 8e1e4af44d85c6e60942718ca50fdee5a3e27275 /src/display/sp-ctrlcurve.h | |
| parent | More GObject boilerplate reduction (diff) | |
| download | inkscape-c2a65687bd392c251a320030b0a6a813e093dc9f.tar.gz inkscape-c2a65687bd392c251a320030b0a6a813e093dc9f.zip | |
More GObject boilerplate reduction
(bzr r13341.1.175)
Diffstat (limited to 'src/display/sp-ctrlcurve.h')
| -rw-r--r-- | src/display/sp-ctrlcurve.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/display/sp-ctrlcurve.h b/src/display/sp-ctrlcurve.h index 90936185c..847944f38 100644 --- a/src/display/sp-ctrlcurve.h +++ b/src/display/sp-ctrlcurve.h @@ -19,14 +19,11 @@ class SPItem; -#define SP_TYPE_CTRLCURVE (SPCtrlCurve::getType()) +#define SP_TYPE_CTRLCURVE (sp_ctrlcurve_get_type()) #define SP_CTRLCURVE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_CTRLCURVE, SPCtrlCurve)) #define SP_IS_CTRLCURVE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_CTRLCURVE)) struct SPCtrlCurve : public SPCtrlLine { - - static GType getType(); - void setCoords( gdouble x0, gdouble y0, gdouble x1, gdouble y1, gdouble x2, gdouble y2, gdouble x3, gdouble y3 ); @@ -36,9 +33,9 @@ struct SPCtrlCurve : public SPCtrlLine { Geom::Point p0, p1, p2, p3; }; -struct SPCtrlCurveClass : public SPCtrlLineClass{}; - +GType sp_ctrlcurve_get_type(); +struct SPCtrlCurveClass : public SPCtrlLineClass{}; #endif // SEEN_INKSCAPE_CTRLCURVE_H |
