summaryrefslogtreecommitdiff
path: root/pango/pango-attributes.c
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2001-07-12 16:34:40 +0000
committerDarin Adler <darin@src.gnome.org>2001-07-12 16:34:40 +0000
commit5bf4e956f5fecf77e2988294a4f4d390f89a51e9 (patch)
tree60c42ed36328e3281db8a7642cebbb23d0ffdddc /pango/pango-attributes.c
parent977dbeb2e823baa4940dbd8cfc054deed3017548 (diff)
downloadpango-5bf4e956f5fecf77e2988294a4f4d390f89a51e9.tar.gz
Remove stray semicolon.
* modules/arabic/arabic-x.c: (arabic_engine_shape): Remove stray semicolon. * modules/arabic/arconv.h: * modules/arabic/arconv.c: (shape), (doublelig), (arabic_reshape): Use long* instead of int* for parameter to match what's passed in. * modules/indic/bengali-x.c: Add missing <string.h> include. (pango_indic_make_ligs): Use local variable that was added but not ever used. (pango_indic_engine_shape): Remove unused locals. * modules/indic/devanagari-x.c: Add missing <string.h> include. (pango_indic_engine_shape): Remove unused local. * modules/indic/gujarati-x.c: Add missing <string.h> include. (pango_indic_engine_shape): Remove unused local * modules/tamil/tamil-x.c: (tamil_engine_shape): Initialize a variable to quiet the compiler's unused warning. * pango/.cvsignore: Ignore more generated files. * pango/opentype/ftxgpos.c: (Get_Anchor): Add code to set up the ap variable. The old code would just use the uninitialized value. * pango/opentype/ftxopen.c: (Load_Coverage): Remove unused local. * pango/opentype/pango-ot-ruleset.c: (pango_ot_ruleset_shape): Remove unused local. * pango/pango-attributes.c: (pango_attr_list_get_type), (pango_color_get_type): Add needed function type casts (just warnings under gcc, but could be errors in other compilers). * pango/pangoxft-font.c: (pango_xft_font_get_metrics), (pango_xft_font_get_coverage), (pango_xft_get_shaper_map), (pango_xft_font_find_shaper): Switch from lang char* to PangoLanguage*. The code was still compiling, but would not have worked.
Diffstat (limited to 'pango/pango-attributes.c')
-rw-r--r--pango/pango-attributes.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index b1748b88..66accc6b 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -718,8 +718,8 @@ pango_attr_list_get_type (void)
if (our_type == 0)
our_type = g_boxed_type_register_static ("PangoAttrList",
NULL,
- pango_attr_list_copy,
- pango_attr_list_unref,
+ (GBoxedCopyFunc) pango_attr_list_copy,
+ (GBoxedFreeFunc) pango_attr_list_unref,
FALSE);
return our_type;
@@ -1548,8 +1548,8 @@ pango_color_get_type (void)
if (our_type == 0)
our_type = g_boxed_type_register_static ("PangoColor",
NULL,
- pango_color_copy,
- pango_color_free,
+ (GBoxedCopyFunc) pango_color_copy,
+ (GBoxedFreeFunc) pango_color_free,
FALSE);
return our_type;