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:
@ -478,7 +478,7 @@ _clutter_context_create_pango_context (ClutterMainContext *self)
|
|||||||
PangoContext *context;
|
PangoContext *context;
|
||||||
|
|
||||||
context = cogl_pango_font_map_create_context (self->font_map);
|
context = cogl_pango_font_map_create_context (self->font_map);
|
||||||
update_pango_context (self->backend, self);
|
update_pango_context (self->backend, context);
|
||||||
|
|
||||||
return context;
|
return context;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user