• Olivier Fourdan's avatar
    cssnode: Bail out nicely if there is no settings · cec7ff1b
    Olivier Fourdan authored
    On gdk_display_close(), the GtkSettings attached to the display are
    freed.
    
    Yet the gtk CSS code may still be called from the widget unparent,
    leading to a segfault.
    
    Check if the GtkSettings is not NULL and bail out nicely if not.
    
    Closes: #2780
    cec7ff1b