Pass the PangoContext, not the MainContext
When updating the PangoContext with the current options (font name, options, resolution) pass the PangoContext instead of the Clutter MainContext structure pointer.
This commit is contained in:
parent
c79112bd3c
commit
a5f9c72694
@ -478,7 +478,7 @@ _clutter_context_create_pango_context (ClutterMainContext *self)
|
||||
PangoContext *context;
|
||||
|
||||
context = cogl_pango_font_map_create_context (self->font_map);
|
||||
update_pango_context (self->backend, self);
|
||||
update_pango_context (self->backend, context);
|
||||
|
||||
return context;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user