From a00e8e3abb5c9aba93810fc4b992fb5229b5d3f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Tue, 20 Nov 2018 00:04:41 +0100 Subject: [PATCH] Dont use deprecated GLib.glib_version --- gajim/gtk/exception.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gajim/gtk/exception.py b/gajim/gtk/exception.py index 8f8276f2f..7ac9f381f 100644 --- a/gajim/gtk/exception.py +++ b/gajim/gtk/exception.py @@ -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,