From 4f73b03d360a9b81100cb6606a58aaa9f6da6f80 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Philipp=20H=C3=B6rist?= <philipp@hoerist.com>
Date: Mon, 29 Jan 2018 20:08:37 +0100
Subject: [PATCH] Remove unused method

---
 gajim/gtkgui_helpers.py | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/gajim/gtkgui_helpers.py b/gajim/gtkgui_helpers.py
index ef74df7fb1..7ca4d2cf10 100644
--- a/gajim/gtkgui_helpers.py
+++ b/gajim/gtkgui_helpers.py
@@ -572,15 +572,6 @@ def load_iconset(path, pixbuf2=None, transport=False):
                     'offline', 'error', 'requested', 'event', 'not in roster')
     return _load_icon_list(list_, path, pixbuf2)
 
-def load_icon(icon_name):
-    """
-    Load an icon from the iconset in 16x16
-    """
-    iconset = app.config.get('iconset')
-    path = os.path.join(helpers.get_iconset_path(iconset), '16x16', '')
-    icon_list = _load_icon_list([icon_name], path)
-    return icon_list[icon_name]
-
 def load_mood_icon(icon_name):
     """
     Load an icon from the mood iconset in 16x16
-- 
GitLab