Skip to content
Snippets Groups Projects
  • Simon McVittie's avatar
    92b1c2b6
    pressure-vessel: Disable GIO modules differently · 92b1c2b6
    Simon McVittie authored
    
    Now that GIO_MODULE_DIR has been backported into scout's GLib, we can
    disable GIO modules completely, instead of loading them but then not
    using them. This avoids some misleading warnings (#32).
    
    This will not be completely effective on non-Debian systems until we
    also patch scout's GLib to make GIO_MODULE_DIR take precedence over
    the hard-coded legacy search path /usr/lib/gio/modules.
    
    The unit test for this is still in tests/pressure-vessel/utils.c
    for now.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
    92b1c2b6
    History
    pressure-vessel: Disable GIO modules differently
    Simon McVittie authored
    
    Now that GIO_MODULE_DIR has been backported into scout's GLib, we can
    disable GIO modules completely, instead of loading them but then not
    using them. This avoids some misleading warnings (#32).
    
    This will not be completely effective on non-Debian systems until we
    also patch scout's GLib to make GIO_MODULE_DIR take precedence over
    the hard-coded legacy search path /usr/lib/gio/modules.
    
    The unit test for this is still in tests/pressure-vessel/utils.c
    for now.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>