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:
Emmanuele Bassi 2009-01-05 16:45:59 +00:00
parent c79112bd3c
commit a5f9c72694

View File

@ -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;
}