From 58f3f347f828b8bfe0fb01ba3194ee5ec3a8c961 Mon Sep 17 00:00:00 2001 From: Alexander Valavanis Date: Thu, 6 Jul 2017 00:57:09 +0200 Subject: cursors: rm deprecated gtkstyle custom black/white --- src/ui/tools/dropper-tool.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ui/tools/dropper-tool.cpp') diff --git a/src/ui/tools/dropper-tool.cpp b/src/ui/tools/dropper-tool.cpp index 4524d2445..9b37aed17 100644 --- a/src/ui/tools/dropper-tool.cpp +++ b/src/ui/tools/dropper-tool.cpp @@ -380,15 +380,15 @@ bool DropperTool::root_handler(GdkEvent* event) { GdkCursor *cursor; if(apply) { if(draw_cursor == DRAW_FILL_CURSOR) { - cursor = sp_cursor_from_xpm(cursor_dropping_f_xpm, NULL, NULL, apply_color); + cursor = sp_cursor_from_xpm(cursor_dropping_f_xpm, apply_color); } else if(draw_cursor == DRAW_STROKE_CURSOR) { - cursor = sp_cursor_from_xpm(cursor_dropping_s_xpm, NULL, NULL, apply_color); + cursor = sp_cursor_from_xpm(cursor_dropping_s_xpm, apply_color); } } else { if(draw_cursor == DRAW_FILL_CURSOR) { - cursor = sp_cursor_from_xpm(cursor_dropper_f_xpm, NULL, NULL, this->get_color()); + cursor = sp_cursor_from_xpm(cursor_dropper_f_xpm, this->get_color()); } else if(draw_cursor == DRAW_STROKE_CURSOR) { - cursor = sp_cursor_from_xpm(cursor_dropper_s_xpm, NULL, NULL, this->get_color()); + cursor = sp_cursor_from_xpm(cursor_dropper_s_xpm, this->get_color()); } } GdkWindow* window = gtk_widget_get_window(GTK_WIDGET(desktop->getCanvas())); -- cgit v1.2.3