Code

Filter effects dialog:
[inkscape.git] / src / event-context.h
index 400fde5e379e4bafe085a8e57dd70934b829424a..7e3c125fb7cb37a9f608bade9218d7c5dc339e0e 100644 (file)
@@ -20,7 +20,6 @@
 #include <glib-object.h>
 #include <gdk/gdktypes.h>
 #include <gdk/gdkevents.h>
-#include <gdk/gdkpixbuf.h>
 
 struct GrDrag;
 struct SPDesktop;
@@ -52,7 +51,6 @@ struct SPEventContext : public GObject {
     SPDesktop *desktop;
     Inkscape::XML::Node *prefs_repr;
     gchar **cursor_shape;
-    GdkPixbuf *cursor_pixbuf;
     gint hot_x, hot_y;
     GdkCursor *cursor;
 
@@ -92,6 +90,7 @@ struct SPEventContextClass : public GObjectClass {
 };
 
 #define SP_EVENT_CONTEXT_DESKTOP(e) (SP_EVENT_CONTEXT(e)->desktop)
+#define SP_EVENT_CONTEXT_DOCUMENT(e) ((SP_EVENT_CONTEXT_DESKTOP(e))->doc())
 
 #define SP_EVENT_CONTEXT_STATIC 0