• Owen W. Taylor's avatar
    MetaLauncher: Don't g_error() on failure · 7fb3ecc1
    Owen W. Taylor authored
    g_error() is the wrong thing to do when, for example, we can't find the
    DRM device, since Mutter should just fail to start rather than reporting
    a bug into automatic bug tracking systems. Rather than trying to decipher
    which errors are "expected" and which not, just make all failure paths
    in meta_launcher_new() return a GError out to the caller - which we make
    exit(1).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=757311
    7fb3ecc1
org.freedesktop.login1.xml 1.41 KB