Dont use deprecated GLib.glib_version

This commit is contained in:
Philipp Hörist 2018-11-20 00:04:41 +01:00
parent e305069798
commit a00e8e3abb
1 changed files with 3 additions and 1 deletions

View File

@ -101,7 +101,9 @@ class ExceptionDialog():
Gtk.get_minor_version(),
Gtk.get_micro_version())
gobject_ver = '.'.join(map(str, GObject.pygobject_version))
glib_ver = '.'.join(map(str, GLib.glib_version))
glib_ver = '.'.join(map(str, [GLib.MAJOR_VERSION,
GLib.MINOR_VERSION,
GLib.MICRO_VERSION]))
return ISSUE_TEXT.format(get_os_info(),
gtk_ver,