Daniel Brötzmann pushed to branch emoji-improvements at gajim / gajim
Commits:
c3dfc7d6 by wurstsalat at 2022-09-24T13:19:30+02:00
chore: emoji_data: Remove unused method
- - - - -
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/c3dfc7d6eb4c53d383f5945ce67bda4ff629003a
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/c3dfc7d6eb4c53d383f5945ce67bda4ff629003a
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits