Skip to content
Commit caefbf8a authored by Philip Withnall's avatar Philip Withnall Committed by Robert Ancell
Browse files

wacom: Fix a critical warning if loading a cursor fails



It’s possible for `gdk_cursor_new_for_display()` to return `NULL`. It’s
OK to pass `NULL` to `gdk_window_set_cursor()`, but not OK to then unref
it.

Signed-off-by: default avatarPhilip Withnall <pwithnall@endlessos.org>
parent f248e735
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