[cairo] [PATCH 06/12] doc: Make the documentation name match the function name
Andrea Canciani
ranma42 at gmail.com
Tue Mar 27 04:25:53 PDT 2012
Fixes the 'symbol not found' errors caused by mismatches between the
documentation name and the name in the code.
---
src/cairo-scaled-font-subsets-private.h | 8 ++++----
src/cairo-traps.c | 2 +-
src/cairo-xlib-display.c | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/cairo-scaled-font-subsets-private.h b/src/cairo-scaled-font-subsets-private.h
index 2edf770..dd19962 100644
--- a/src/cairo-scaled-font-subsets-private.h
+++ b/src/cairo-scaled-font-subsets-private.h
@@ -225,7 +225,7 @@ typedef cairo_int_status_t
void *closure);
/**
- * _cairo_scaled_font_subsets_foreach:
+ * _cairo_scaled_font_subsets_foreach_scaled:
* @font_subsets: a #cairo_scaled_font_subsets_t
* @font_subset_callback: a function to be called for each font subset
* @closure: closure data for the callback function
@@ -439,7 +439,7 @@ typedef struct _cairo_truetype_subset {
} cairo_truetype_subset_t;
/**
- * _cairo_truetype_subset_init:
+ * _cairo_truetype_subset_init_ps:
* @truetype_subset: a #cairo_truetype_subset_t to initialize
* @font_subset: the #cairo_scaled_font_subset_t to initialize from
*
@@ -460,7 +460,7 @@ _cairo_truetype_subset_init_ps (cairo_truetype_subset_t *truetype_subset,
cairo_scaled_font_subset_t *font_subset);
/**
- * _cairo_truetype_subset_init:
+ * _cairo_truetype_subset_init_pdf:
* @truetype_subset: a #cairo_truetype_subset_t to initialize
* @font_subset: the #cairo_scaled_font_subset_t to initialize from
*
@@ -576,7 +576,7 @@ _cairo_type1_fallback_init_binary (cairo_type1_subset_t *type_subset,
cairo_scaled_font_subset_t *font_subset);
/**
- * _cairo_type1_fallback_init_hexencode:
+ * _cairo_type1_fallback_init_hex:
* @type1_subset: a #cairo_type1_subset_t to initialize
* @font_subset: the #cairo_scaled_font_subset_t to initialize from
*
diff --git a/src/cairo-traps.c b/src/cairo-traps.c
index c776d33..48eaf98 100644
--- a/src/cairo-traps.c
+++ b/src/cairo-traps.c
@@ -159,7 +159,7 @@ _cairo_traps_add_trap (cairo_traps_t *traps,
}
/**
- * _cairo_traps_init_box:
+ * _cairo_traps_init_boxes:
* @traps: a #cairo_traps_t
* @box: an array box that will each be converted to a single trapezoid
* to store in @traps.
diff --git a/src/cairo-xlib-display.c b/src/cairo-xlib-display.c
index e4a5626..74c085e 100644
--- a/src/cairo-xlib-display.c
+++ b/src/cairo-xlib-display.c
@@ -158,7 +158,7 @@ static void _cairo_xlib_display_select_compositor (cairo_xlib_display_t *display
}
/**
- * cairo_xlib_device_create:
+ * _cairo_xlib_device_create:
* @dpy: the display to create the device for
*
* Gets the device belonging to @dpy, or creates it if it doesn't exist yet.
--
1.7.5.4
More information about the cairo
mailing list