GObject 3.8 has deprecated the get_data()/set_data() methods.
Python3 doesn't let us compare strings and ints so we cannot
sort the dictionary keys unless they are all ints.
The Modelines plugin no longer stores its data in a form we
can access from Python.
Switch over to Python3 for gedit 3.8+.