Daniel Brötzmann pushed to branch emoji-improvements at gajim / gajim
Commits: 938d79fb by wurstsalat at 2022-09-24T21:44:10+02:00 chore: Remove unused method from emoji_data
- - - - -
2 changed files:
- gajim/gtk/emoji_data.py - gajim/gtk/emoji_data.pyi
Changes:
===================================== gajim/gtk/emoji_data.py ===================================== @@ -17,7 +17,6 @@ from typing import Optional
import re -import sys import weakref from enum import IntEnum from collections import OrderedDict @@ -62,12 +61,6 @@ def get_emoji_pixbuf(codepoints: str) -> Optional[GdkPixbuf.Pixbuf]: return pixbuf
-def get_emoji_font() -> str: - if sys.platform == 'win32': - return 'Segoe UI Emoji' - return 'Noto Color Emoji' - - class EmojiData(OrderedDict): def __getitem__(self, key): try:
===================================== gajim/gtk/emoji_data.pyi ===================================== @@ -22,7 +22,6 @@ class Emoji(IntEnum): ...
def is_emoji(codepoints: str) -> bool: ... -def get_emoji_font() -> str: ... def get_emoji_pixbuf(codepoints: str) -> GdkPixbuf.Pixbuf: ...
class EmojiData(OrderedDict):
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/938d79fbb4a9aa16dee200ed7d39b18b5...