Add gi.PyGIWarning and use it instead of PyGIDeprecationWarning in case the version...
commit2048dc8d1d708abce7037f96483c6d776567d6b5
authorChristoph Reiter <creiter@src.gnome.org>
Mon, 2 Mar 2015 19:58:04 +0000 (2 20:58 +0100)
committerChristoph Reiter <creiter@src.gnome.org>
Tue, 2 Jun 2015 08:03:07 +0000 (2 10:03 +0200)
treec5f050733b3686e4f5c3b498720157077cf29ee3
parent7a3bb6971f22accd25e987496d377e1879f6e1ba
Add gi.PyGIWarning and use it instead of PyGIDeprecationWarning in case the version to import wasn't specified.

This makes the warning visible by default.
See commit ef3bff4e570363e4f383d4cdae9cecd4073b03d8 for more info on the warning.

https://bugzilla.gnome.org/show_bug.cgi?id=727379
gi/__init__.py
gi/gimodule.c
gi/importer.py
tests/test_gi.py