Commit 38d22c43 authored by Andreas Schalk's avatar Andreas Schalk Committed by Marc Jeanmougin

Fix #1579 unref cursor

parent a8ed21a0
Pipeline #170705389 failed with stages
in 88 minutes and 10 seconds
......@@ -388,6 +388,7 @@ bool DropperTool::root_handler(GdkEvent* event) {
GdkCursor *cursor = sp_cursor_from_xpm(xpm, this->get_color(this->invert));
GdkWindow* window = gtk_widget_get_window(GTK_WIDGET(desktop->getCanvas()));
gdk_window_set_cursor(window, cursor);
g_object_unref(cursor);
if (!ret) {
ret = ToolBase::root_handler(event);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment