diff options
author | Kouhei Sutou <kou@clear-code.com> | 2013-01-03 12:37:43 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-01-03 15:07:18 +0000 |
commit | ecc8c28b24cb5fcd85aee5d4c82b9ad72c87fa69 (patch) | |
tree | c60a631cc3d78f85c48475d5a47f0e0ecb71c086 /util | |
parent | 5bc1b1f6aac108d9a3963352ad774bb4fcd69e28 (diff) |
gobject: Add the correct macro name for the hint-metrics type
s/CAIRO_GOBJECT_TYPE_HNT_METRICS/CAIRO_GOBJECT_TYPE_HINT_METRICS/
However, as we have already released the broken headers, we need to
preserve that mistake in case applications are already using. Since it
is just a #define, there is little associated cost with carrying both
the incorrect spelling and the corrected define.
Diffstat (limited to 'util')
-rw-r--r-- | util/cairo-gobject/cairo-gobject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/cairo-gobject/cairo-gobject.h b/util/cairo-gobject/cairo-gobject.h index f43a6d032..d57a735f5 100644 --- a/util/cairo-gobject/cairo-gobject.h +++ b/util/cairo-gobject/cairo-gobject.h @@ -137,7 +137,9 @@ cairo_gobject_subpixel_order_get_type (void); cairo_public GType cairo_gobject_hint_style_get_type (void); +/* historical accident */ #define CAIRO_GOBJECT_TYPE_HNT_METRICS cairo_gobject_hint_metrics_get_type () +#define CAIRO_GOBJECT_TYPE_HINT_METRICS cairo_gobject_hint_metrics_get_type () cairo_public GType cairo_gobject_hint_metrics_get_type (void); |