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 695495 - testgtk: cursor example segfaults
testgtk: cursor example segfaults
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Backend: Wayland
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-03-09 15:50 UTC by Matthias Clasen
Modified: 2013-03-13 10:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2013-03-09 15:50:37 UTC
trying to change the cursor size or theme leads to an immediate segfault:

(lt-testgtk:30907): GLib-GObject-WARNING **: invalid cast from `GdkWaylandDisplay' to `GdkX11Display'
Comment 1 Matthias Clasen 2013-03-13 10:05:23 UTC
commit 7dd2539e1bdedf313fe60a8ac5c75566ebd1c7b6
Author: Matthias Clasen <mclasen@redhat.com>
Date:   Wed Mar 13 06:01:57 2013 -0400

    Add a missing runtime check
    
    The cursor theme and size settting code was ifdefed to only
    be compiled with the X11 backend, but it didn't check for
    running under X at runtime. Fix that.
    http://bugzilla.gnome.org/695495