Sugar Labs

flappy Issue: #3: Python GI API version warning

@zeecoder606, this warning appears;

/home/guest/Activities/Flappy.activity/activity.py:4: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.

from gi.repository import Gtk

```

Task tags

  • python
  • github
  • flappy

Students who completed this task

Santiago Acquarone

Task type

  • code Code
  • done_all Quality Assurance
close

2017