summaryrefslogtreecommitdiffstats
path: root/src/event-context.h
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2011-10-05 07:06:08 +0000
committerJon A. Cruz <jon@joncruz.org>2011-10-05 07:06:08 +0000
commitcd5e6c8856a1ac7b94e0fa799c471eaa8c8ecae4 (patch)
treea2cc09e750a94433c9a90052474ea7a6889ec6b5 /src/event-context.h
parentCleaned up display-forward.h, including many redundant usages. (diff)
downloadinkscape-cd5e6c8856a1ac7b94e0fa799c471eaa8c8ecae4.tar.gz
inkscape-cd5e6c8856a1ac7b94e0fa799c471eaa8c8ecae4.zip
Cleanup for src/forward.h. (About 19 of the affected files did not require the contents forward.h at all).
(bzr r10667)
Diffstat (limited to 'src/event-context.h')
-rw-r--r--src/event-context.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/event-context.h b/src/event-context.h
index b0772c23a..ca13fe7e8 100644
--- a/src/event-context.h
+++ b/src/event-context.h
@@ -1,5 +1,5 @@
-#ifndef __SP_EVENT_CONTEXT_H__
-#define __SP_EVENT_CONTEXT_H__
+#ifndef SEEN_SP_EVENT_CONTEXT_H
+#define SEEN_SP_EVENT_CONTEXT_H
/** \file
* SPEventContext: base class for event processors
@@ -38,6 +38,13 @@ namespace Inkscape {
}
}
+
+#define SP_TYPE_EVENT_CONTEXT (sp_event_context_get_type())
+#define SP_EVENT_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST((o), SP_TYPE_EVENT_CONTEXT, SPEventContext))
+#define SP_IS_EVENT_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), SP_TYPE_EVENT_CONTEXT))
+
+GType sp_event_context_get_type();
+
gboolean sp_event_context_snap_watchdog_callback(gpointer data);
void sp_event_context_discard_delayed_snap_event(SPEventContext *ec);
@@ -184,7 +191,7 @@ void ec_shape_event_attr_changed(Inkscape::XML::Node *shape_repr,
void event_context_print_event_info(GdkEvent *event, bool print_return = true);
-#endif
+#endif // SEEN_SP_EVENT_CONTEXT_H
/*