From 9e69eef83f511df18ca726085047e7cc4c41df31 Mon Sep 17 00:00:00 2001 From: Josh Andler Date: Thu, 19 Oct 2006 19:03:27 +0000 Subject: remove color cursors (bzr r1811) --- src/node-context.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/node-context.cpp') diff --git a/src/node-context.cpp b/src/node-context.cpp index aae6ce29e..774e0813e 100644 --- a/src/node-context.cpp +++ b/src/node-context.cpp @@ -26,11 +26,9 @@ #include "desktop-handles.h" #include "selection.h" #include "pixmaps/cursor-node.xpm" -#include "pixmaps/cursor-node.pixbuf" #include "message-context.h" #include "node-context.h" #include "pixmaps/cursor-node-d.xpm" -#include "pixmaps/cursor-node-d.pixbuf" #include "prefs-utils.h" #include "xml/node-event-vector.h" #include "style.h" @@ -100,11 +98,6 @@ sp_node_context_init(SPNodeContext *node_context) SPEventContext *event_context = SP_EVENT_CONTEXT(node_context); event_context->cursor_shape = cursor_node_xpm; - event_context->cursor_pixbuf = gdk_pixbuf_new_from_inline( - -1, - cursor_node_pixbuf, - FALSE, - NULL); event_context->hot_x = 1; event_context->hot_y = 1; @@ -610,22 +603,12 @@ sp_node_context_root_handler(SPEventContext *event_context, GdkEvent *event) if (nc->cursor_drag && !over_stroke) { event_context->cursor_shape = cursor_node_xpm; - event_context->cursor_pixbuf = gdk_pixbuf_new_from_inline( - -1, - cursor_node_pixbuf, - FALSE, - NULL); event_context->hot_x = 1; event_context->hot_y = 1; sp_event_context_update_cursor(event_context); nc->cursor_drag = false; } else if (!nc->cursor_drag && over_stroke) { event_context->cursor_shape = cursor_node_d_xpm; - event_context->cursor_pixbuf = gdk_pixbuf_new_from_inline( - -1, - cursor_node_d_pixbuf, - FALSE, - NULL); event_context->hot_x = 1; event_context->hot_y = 1; sp_event_context_update_cursor(event_context); -- cgit v1.2.3