[libosinfo 0/6] Add generic libosinfo error domain

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some parts of libosinfo are using a NULL domain when creating a GError, but
this triggers runtime warnings with glib. The main goal of this patch series is
to adress that.

Christophe

Christophe Fergeau (6):
  loader: Rename OSINFO_ERROR to OSINFO_LOADER_SET_ERROR
  loader: Use OSINFO_LOADER_SET_ERROR in a few more places
  loader: Introduce OSINFO_ERROR
  Use OSINFO_ERROR in more places
  install-script: Use g_set_error_literal where appropriate
  install-script: Add propagate_libxml_error() helper

 osinfo/libosinfo.syms          |  5 +++
 osinfo/osinfo_install_script.c | 68 +++++++++++++++++++---------------
 osinfo/osinfo_loader.c         | 66 ++++++++++++++++++++-------------
 osinfo/osinfo_loader.h         |  8 ++++
 tools/osinfo-install-script.c  |  2 +-
 tools/osinfo-query.c           |  6 +--
 6 files changed, 96 insertions(+), 59 deletions(-)

-- 
2.19.0

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux