summaryrefslogtreecommitdiffstats
path: root/src/draw-context.h
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2013-01-17 00:59:37 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2013-01-17 00:59:37 +0000
commitcd0794c0d76a46a0ae47b6c450167015ee41bc35 (patch)
tree2f0c97f37dadbda4122e622e6aa249294a978336 /src/draw-context.h
parentextensions. dxf output. set flag if LWPOLYLINE is closed (Bug 1098283) (diff)
downloadinkscape-cd0794c0d76a46a0ae47b6c450167015ee41bc35.tar.gz
inkscape-cd0794c0d76a46a0ae47b6c450167015ee41bc35.zip
Cleanup more GObject type definitions
(bzr r12034)
Diffstat (limited to 'src/draw-context.h')
-rw-r--r--src/draw-context.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/draw-context.h b/src/draw-context.h
index 202dd85b2..98309c0cb 100644
--- a/src/draw-context.h
+++ b/src/draw-context.h
@@ -20,6 +20,7 @@
#include "event-context.h"
#include "live_effects/effect.h"
+G_BEGIN_DECLS
/* Freehand context */
#define SP_TYPE_DRAW_CONTEXT (sp_draw_context_get_type())
@@ -82,7 +83,7 @@ struct SPDrawContext : public SPEventContext{
struct SPDrawContextClass : public SPEventContextClass{};
-GType sp_draw_context_get_type(void);
+GType sp_draw_context_get_type(void) G_GNUC_CONST;
/**
* Returns FIRST active anchor (the activated one).
@@ -119,6 +120,7 @@ void spdc_check_for_and_apply_waiting_LPE(SPDrawContext *dc, SPItem *item);
*/
void spdc_create_single_dot(SPEventContext *ec, Geom::Point const &pt, char const *tool, guint event_state);
+G_END_DECLS
#endif // SEEN_SP_DRAW_CONTEXT_H
/*