diff options
Diffstat (limited to 'src/inkscape-private.h')
| -rw-r--r-- | src/inkscape-private.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/inkscape-private.h b/src/inkscape-private.h index a6643b989..470a1f5bd 100644 --- a/src/inkscape-private.h +++ b/src/inkscape-private.h @@ -1,5 +1,5 @@ -#ifndef __INKSCAPE_PRIVATE_H__ -#define __INKSCAPE_PRIVATE_H__ +#ifndef SEEN_INKSCAPE_PRIVATE_H +#define SEEN_INKSCAPE_PRIVATE_H /* * Some forward declarations @@ -12,6 +12,7 @@ * * Released under GNU GPL, read the file 'COPYING' for more information */ +#include <glib-object.h> #define SP_TYPE_INKSCAPE (inkscape_get_type ()) #define SP_INKSCAPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SP_TYPE_INKSCAPE, Inkscape)) @@ -19,9 +20,9 @@ #define SP_IS_INKSCAPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SP_TYPE_INKSCAPE)) #define SP_IS_INKSCAPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SP_TYPE_INKSCAPE)) -#include "forward.h" #include "inkscape.h" +class SPColor; namespace Inkscape { class Selection; } GType inkscape_get_type (void); @@ -52,7 +53,7 @@ bool inkscape_remove_document (SPDocument *document); void inkscape_set_color (SPColor *color, float opacity); -#endif +#endif // SEEN_INKSCAPE_PRIVATE_H |
