[Wayland-bugs] [Bug 773077] New: _gdk_wayland_display_get_cursor_for_name / _with_scale does not return NULL for an unknown icon

gtk+ (GNOME Bugzilla) bugzilla at gnome.org
Mon Oct 17 10:36:05 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=773077

            Bug ID: 773077
           Summary: _gdk_wayland_display_get_cursor_for_name / _with_scale
                    does not return NULL for an unknown icon
    Classification: Platform
           Product: gtk+
           Version: 3.22.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: Backend: Wayland
          Assignee: gtk-bugs at gtk.org
          Reporter: trever at middleearth.sapphiresunday.org
        QA Contact: gtk-bugs at gtk.org
                CC: rob at robster.org.uk, wayland-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 337824
  --> https://bugzilla.gnome.org/attachment.cgi?id=337824&action=edit
Patch to fix the problem

aisleriot and others that support many different platforms expect these
functions to return NULL if an icon is not found. Without the attached patch, a
useless structure is returned and the icon disappears. With this patch, things
function as they should.

This was originally reported in
https://bugzilla.redhat.com/show_bug.cgi?id=1352244 which contains other
patches for aisleriot which may be useful.

I am not sure how far this goes back, but it exists in the current version and
has existed for at least 8 months.

Thank you for looking into this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20161017/f6bbae26/attachment.html>


More information about the wayland-bugs mailing list