mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
Revert the logic of the PangoContext check
The branch that creates the global PangoContext should only run if there is no global PangoContext already.
This commit is contained in:
parent
700b34148b
commit
c79112bd3c
@ -452,7 +452,7 @@ update_pango_context (ClutterBackend *backend,
|
||||
PangoContext *
|
||||
_clutter_context_get_pango_context (ClutterMainContext *self)
|
||||
{
|
||||
if (G_LIKELY (self->pango_context))
|
||||
if (G_UNLIKELY (self->pango_context == NULL))
|
||||
{
|
||||
PangoContext *context;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user