diff --git a/gajim/gtk/util.py b/gajim/gtk/util.py index c3ab6f29f..c6eefe232 100644 --- a/gajim/gtk/util.py +++ b/gajim/gtk/util.py @@ -180,7 +180,7 @@ def get_builder(file_name: str, widgets: List[str] = None) -> Builder: return Builder(file_name, widgets) -def set_urgency_hint(window: Any, setting: bool): +def set_urgency_hint(window: Any, setting: bool) -> None: if app.config.get('use_urgency_hint'): window.set_urgency_hint(setting) diff --git a/gajim/privatechat_control.py b/gajim/privatechat_control.py index 2d1c695ab..4a831009a 100644 --- a/gajim/privatechat_control.py +++ b/gajim/privatechat_control.py @@ -24,8 +24,6 @@ # You should have received a copy of the GNU General Public License # along with Gajim. If not, see . -import nbxmpp - from gajim import message_control from gajim.common import app