mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00: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:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user