summaryrefslogtreecommitdiff
path: root/src/gpm-graph-widget.c
diff options
context:
space:
mode:
authorMarcel Dijkstra <[email protected]>2012-06-24 18:32:36 +0200
committerMarcel Dijkstra <[email protected]>2012-06-24 18:32:36 +0200
commit0acdf5c1cf7b490d81f3d2dfe7850c763408fda1 (patch)
treee771a2ce980fa07d4bcd6288baaf4f5461589e58 /src/gpm-graph-widget.c
parent6dd713def558f0e4ca86a4ddd9cf1d300634e3d0 (diff)
downloadmate-power-manager-0acdf5c1cf7b490d81f3d2dfe7850c763408fda1.tar.bz2
mate-power-manager-0acdf5c1cf7b490d81f3d2dfe7850c763408fda1.tar.xz
deprecated pango_cairo_font_map_create to pango_font_map_create
Diffstat (limited to 'src/gpm-graph-widget.c')
-rw-r--r--src/gpm-graph-widget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpm-graph-widget.c b/src/gpm-graph-widget.c
index a9ba689..5d74dce 100644
--- a/src/gpm-graph-widget.c
+++ b/src/gpm-graph-widget.c
@@ -323,7 +323,7 @@ gpm_graph_widget_init (GpmGraphWidget *graph)
/* do pango stuff */
fontmap = pango_cairo_font_map_get_default ();
- context = pango_cairo_font_map_create_context (PANGO_CAIRO_FONT_MAP (fontmap));
+ context = pango_font_map_create_context (PANGO_FONT_MAP (fontmap));
pango_context_set_base_gravity (context, PANGO_GRAVITY_AUTO);
graph->priv->layout = pango_layout_new (context);