Skip to content
  • Guido Günther's avatar
    examples: avoid PyGIWarning · a11c4f9d
    Guido Günther authored
    This fixes
    
    demo.py:3: PyGIWarning: Libosinfo was imported without specifying a version first. Use gi.require_version('Libosinfo', '1.0') before import
    to ensure that the right version gets loaded.
      from gi.repository import Libosinfo as osinfo;
    a11c4f9d