mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-09-19 14:19:57 +00:00
Unified emoji support across builds, fixed picker bugs, and added CI checks.
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
#include "fe-gtk.h"
|
||||
#include "xtext.h"
|
||||
#include "fkeys.h"
|
||||
#include "emoji-font.h"
|
||||
#include "theme/theme-access.h"
|
||||
|
||||
#define charlen(str) g_utf8_skip[*(guchar *)(str)]
|
||||
@@ -581,6 +582,7 @@ backend_init (GtkXText *xtext)
|
||||
{
|
||||
if (xtext->layout == NULL)
|
||||
{
|
||||
emoji_font_apply (GTK_WIDGET (xtext));
|
||||
xtext->layout = gtk_widget_create_pango_layout (GTK_WIDGET (xtext), 0);
|
||||
if (xtext->font)
|
||||
pango_layout_set_font_description (xtext->layout, xtext->font->font);
|
||||
|
||||
Reference in New Issue
Block a user