After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 693257 - wayland: avoid returning NULL when getting a cursor
wayland: avoid returning NULL when getting a cursor
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Wayland
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-02-06 11:16 UTC by Thomas Wood
Modified: 2013-02-06 17:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
wayland: avoid returning NULL when getting a cursor (1.18 KB, patch)
2013-02-06 11:16 UTC, Thomas Wood
committed Details | Review

Description Thomas Wood 2013-02-06 11:16:26 UTC
Applications don't expect functions such as gdk_cursor_new to return NULL, so
provide a fallback if loading the requested cursor failed.
Comment 1 Thomas Wood 2013-02-06 11:16:28 UTC
Created attachment 235303 [details] [review]
wayland: avoid returning NULL when getting a cursor
Comment 2 Rob Bradford 2013-02-06 14:16:42 UTC
Review of attachment 235303 [details] [review]:

LGTM.
Comment 3 Thomas Wood 2013-02-06 17:00:51 UTC
Attachment 235303 [details] pushed as 6657479 - wayland: avoid returning NULL when getting a cursor