Skip to content
  • Niels De Graef's avatar
    meta-launcher: g_propagate_*_error takes ownership · b82fa2c6
    Niels De Graef authored and Niels De Graef's avatar Niels De Graef committed
    This means we need to make sure we don't accidentally free the provided
    source GError (which automatically happens with `g_autoptr`), so use
    `g_steal_pointer()`.
    
    This fixes an issue where, when launched in a bubblewrap environment
    (such as the one provided by Buildstream), mutter would give the
    following warning message:
    
    ```
    mutter-WARNING **: 8:31:35:069: Can't initialize KMS backend: (null)
    ```
    
    ... which isn't that useful when trying to debug the actual issue.
    b82fa2c6