summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ml_pango_cairo.c2
-rw-r--r--src/pango_cairo.ml2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ml_pango_cairo.c b/src/ml_pango_cairo.c
index 6a2489a..687f21c 100644
--- a/src/ml_pango_cairo.c
+++ b/src/ml_pango_cairo.c
@@ -22,7 +22,7 @@
wML_0(pango_cairo_font_map_new, Val_PangoCairoFontMap)
wML_0(pango_cairo_font_map_get_default, Val_PangoCairoFontMap)
-wML_1(pango_cairo_font_map_create_context, PangoCairoFontMap_val, Val_PangoContext)
+wML_1(pango_font_map_create_context, PangoFontMap_val, Val_PangoContext)
wML_2(pango_cairo_update_context, cairo_t_val, PangoContext_val, Unit)
wML_1(pango_cairo_create_layout, cairo_t_val, Val_PangoLayout)
wML_2(pango_cairo_update_layout, cairo_t_val, PangoLayout_val, Unit)
diff --git a/src/pango_cairo.ml b/src/pango_cairo.ml
index 91a5873..3504af1 100644
--- a/src/pango_cairo.ml
+++ b/src/pango_cairo.ml
@@ -17,7 +17,7 @@ module FontMap = struct
external get_default : unit -> font_map
= "ml_pango_cairo_font_map_get_default"
external create_context : font_map -> Pango.context
- = "ml_pango_cairo_font_map_create_context"
+ = "ml_pango_font_map_create_context"
end
external update_context : Cairo.t -> Pango.context -> unit