diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2007-10-15 17:48:20 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2007-10-15 17:48:20 +0000 |
commit | 2d66e2fe68468ca3a5033b715f4daff237b9dfd3 (patch) | |
tree | ca2c1a5ca0e84299aa1dc62c2bd570d7be5abf1d /pango/pango-attributes.c | |
parent | 840d74b4712b8b77035cd8abbf72b3f6fe2e2c8c (diff) | |
download | pango-2d66e2fe68468ca3a5033b715f4daff237b9dfd3.tar.gz |
Bug 481537 – compiler warning fixes Patch from Kjartan Maraas
2007-10-15 Behdad Esfahbod <behdad@gnome.org>
Bug 481537 – compiler warning fixes
Patch from Kjartan Maraas
* pango/break.c (pango_get_log_attrs):
* pango/pango-attributes.c (pango_attr_list_insert_internal):
* pango/pango-layout.c (process_item), (justify_clusters):
* pango/pango-markup.c (span_parse_boolean):
* pango/pango-ot-ruleset.c (pango_ot_ruleset_finalize),
(pango_ot_ruleset_new):
* pango/pango-utils.c (pango_scan_int):
* pango/pangocairo-font.c (_pango_cairo_font_install):
* pango/pangofc-font.c (pango_fc_font_create_metrics_for_context):
* pango/pangoft2.c (load_fallback_face):
* pango/pangox-fontmap.c (pango_x_get_coverage_win):
* pango/pangox.c (itemize_string_foreach):
Fix warnings.
svn path=/trunk/; revision=2444
Diffstat (limited to 'pango/pango-attributes.c')
-rw-r--r-- | pango/pango-attributes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c index e054b14d..a9a4c26a 100644 --- a/pango/pango-attributes.c +++ b/pango/pango-attributes.c @@ -1166,7 +1166,7 @@ pango_attr_list_insert_internal (PangoAttrList *list, else if (((PangoAttribute *)list->attributes_tail->data)->start_index < start_index || (!before && ((PangoAttribute *)list->attributes_tail->data)->start_index == start_index)) { - g_slist_append (list->attributes_tail, attr); + list->attributes_tail = g_slist_append (list->attributes_tail, attr); list->attributes_tail = list->attributes_tail->next; g_assert (list->attributes_tail); } |