Skip to content

Commit

Permalink
src: Call IBUS_TYPE_EMOJI_DATA in ibus_init()
Browse files Browse the repository at this point in the history
Seems the evaluation of IBUS_EMOJI_DATA() depends on the compiler
optimization.

BUG=#2476
  • Loading branch information
fujiwarat committed Feb 28, 2023
1 parent a140924 commit 7c8abbe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ibusshare.c
Original file line number Diff line number Diff line change
Expand Up @@ -308,12 +308,15 @@ ibus_init (void)
IBUS_TYPE_TEXT;
IBUS_TYPE_ATTRIBUTE;
IBUS_TYPE_ATTR_LIST;
IBUS_TYPE_LOOKUP_TABLE;
IBUS_TYPE_COMPONENT;
IBUS_TYPE_EMOJI_DATA;
IBUS_TYPE_ENGINE_DESC;
IBUS_TYPE_LOOKUP_TABLE;
IBUS_TYPE_OBSERVED_PATH;
IBUS_TYPE_REGISTRY;
IBUS_TYPE_X_EVENT;
IBUS_TYPE_UNICODE_BLOCK;
IBUS_TYPE_UNICODE_DATA;
_ibus_register_resource ();
}

Expand Down

0 comments on commit 7c8abbe

Please sign in to comment.