From c18ef648e64182691b7448ea760f51de4f78b87e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Mon, 18 Dec 2017 00:25:19 +0100 Subject: [PATCH] Replace deprecated get_background_color() --- gajim/gtkgui_helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gajim/gtkgui_helpers.py b/gajim/gtkgui_helpers.py index f3b396d32..5318b23bf 100644 --- a/gajim/gtkgui_helpers.py +++ b/gajim/gtkgui_helpers.py @@ -398,7 +398,8 @@ def get_fade_color(treeview, selected, focused): state = Gtk.StateFlags.ACTIVE else: state = Gtk.StateFlags.NORMAL - bg = context.get_background_color(state) + + bg = context.get_property('background-color', state) fg = context.get_color(state) p = 0.3 # background