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/text-context.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/text-context.cpp') diff --git a/src/text-context.cpp b/src/text-context.cpp index ba1960dd7..3a6d2f57b 100644 --- a/src/text-context.cpp +++ b/src/text-context.cpp @@ -39,9 +39,7 @@ #include "message-stack.h" #include "message-context.h" #include "pixmaps/cursor-text.xpm" -#include "pixmaps/cursor-text.pixbuf" #include "pixmaps/cursor-text-insert.xpm" -#include "pixmaps/cursor-text-insert.pixbuf" #include #include "object-edit.h" #include "xml/repr.h" @@ -125,11 +123,6 @@ sp_text_context_init(SPTextContext *tc) SPEventContext *event_context = SP_EVENT_CONTEXT(tc); event_context->cursor_shape = cursor_text_xpm; - event_context->cursor_pixbuf = gdk_pixbuf_new_from_inline( - -1, - cursor_text_pixbuf, - FALSE, - NULL); event_context->hot_x = 7; event_context->hot_y = 7; @@ -446,11 +439,6 @@ sp_text_context_item_handler(SPEventContext *ec, SPItem *item, GdkEvent *event) SP_CTRLRECT(tc->indicator)->setRectangle(sp_item_bbox_desktop(item_ungrouped)); ec->cursor_shape = cursor_text_insert_xpm; - ec->cursor_pixbuf = gdk_pixbuf_new_from_inline( - -1, - cursor_text_insert_pixbuf, - FALSE, - NULL); ec->hot_x = 7; ec->hot_y = 10; sp_event_context_update_cursor(ec); @@ -639,11 +627,6 @@ sp_text_context_root_handler(SPEventContext *const ec, GdkEvent *const event) tc->over_text = 0; // update cursor and statusbar: we are not over a text object now ec->cursor_shape = cursor_text_xpm; - ec->cursor_pixbuf = gdk_pixbuf_new_from_inline( - -1, - cursor_text_pixbuf, - FALSE, - NULL); ec->hot_x = 7; ec->hot_y = 7; sp_event_context_update_cursor(ec); -- cgit v1.2.3