From a5f9c7269465da32a8f0209dfce27f875e4fe05b Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Mon, 5 Jan 2009 16:45:59 +0000 Subject: [PATCH] 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. --- clutter/clutter-main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clutter/clutter-main.c b/clutter/clutter-main.c index 12bef383c..6dc8cbb94 100644 --- a/clutter/clutter-main.c +++ b/clutter/clutter-main.c @@ -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; }