Dont use deprecated GLib.glib_version
This commit is contained in:
parent
e305069798
commit
a00e8e3abb
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue