summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-06-24 09:40:59 -0700
committerStefano Karapetsas <[email protected]>2012-06-24 09:40:59 -0700
commitaa14fa93ea3ec648987b92e6c5cd804c4a2889c9 (patch)
tree11e19cd1bb122108871ae033493575c69bf2686b
parentad0d27b6e59f008f0411d9c036fd45fc347c80fd (diff)
parent0acdf5c1cf7b490d81f3d2dfe7850c763408fda1 (diff)
downloadmate-power-manager-aa14fa93ea3ec648987b92e6c5cd804c4a2889c9.tar.bz2
mate-power-manager-aa14fa93ea3ec648987b92e6c5cd804c4a2889c9.tar.xz
Merge pull request #9 from MDykstra/master
idea from: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=0c2f2a64c5a3cde94326950c6b64e04120fe24d7
-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);