summaryrefslogtreecommitdiffstats
path: root/src/dropper-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dropper-context.cpp')
-rw-r--r--src/dropper-context.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dropper-context.cpp b/src/dropper-context.cpp
index 0e621c325..b05c92bc0 100644
--- a/src/dropper-context.cpp
+++ b/src/dropper-context.cpp
@@ -39,6 +39,7 @@
#include "document.h"
#include "pixmaps/cursor-dropper.xpm"
+#include "pixmaps/cursor-dropper.pixbuf"
#include "dropper-context.h"
#include "message-context.h"
@@ -99,6 +100,11 @@ static void sp_dropper_context_init(SPDropperContext *dc)
{
SPEventContext *event_context = SP_EVENT_CONTEXT(dc);
event_context->cursor_shape = cursor_dropper_xpm;
+ event_context->cursor_pixbuf = gdk_pixbuf_new_from_inline(
+ -1,
+ cursor_dropper_pixbuf,
+ FALSE,
+ NULL);
event_context->hot_x = 7;
event_context->hot_y = 7;
}