diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-06-25 15:09:39 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-06-25 15:09:39 +0000 |
commit | ac5989fb0fec8273fd4955611b6efb0317d138c1 (patch) | |
tree | fdc7bce2f7529c43f1e8446ef84f7991f398e12a /pango/pango-markup.c | |
parent | 003e41182f16892fab9478530063b590e3852b74 (diff) | |
download | pango-ac5989fb0fec8273fd4955611b6efb0317d138c1.tar.gz |
pango/pango-markup.c: modules/arabic/arabic-xft.c (arabic_engine_shape):
Sat Jun 23 10:01:20 2001 Owen Taylor <otaylor@redhat.com>
* pango/pangowin32-fontmap.c (pango_win32_font_entry_get_coverage):
* pango/pangoft2-fontmap.c (pango_ft2_font_entry_get_coverage):
pango/pango-markup.c:
modules/arabic/arabic-xft.c (arabic_engine_shape):
modules/arabic/arabic-x.c (arabic_engine_shape):
pango/pango-context.c (pango_itemize):
pango/pangox.c (get_font_metrics_from_string):
pango/pangoft2.c (get_font_metrics_from_string):
Adapt to 64-bit changes in glib.
* pango/Makefile.am: Modify generation rules to
use glib-mkenums (ugh, loong command lines), and
to reduce rebuilding by using stamp files.
Diffstat (limited to 'pango/pango-markup.c')
-rw-r--r-- | pango/pango-markup.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pango/pango-markup.c b/pango/pango-markup.c index b408fc26..4b50d36b 100644 --- a/pango/pango-markup.c +++ b/pango/pango-markup.c @@ -56,7 +56,7 @@ struct _MarkupData PangoAttrList *attr_list; GString *text; GSList *tag_stack; - gint index; + size_t index; GSList *to_apply; gunichar accel_marker; gunichar accel_char; @@ -67,7 +67,7 @@ typedef struct _OpenTag OpenTag; struct _OpenTag { GSList *attrs; - gint start_index; + size_t start_index; /* Current total scale level; reset whenever * an absolute size is set. * Each "larger" ups it 1, each "smaller" decrements it 1 @@ -421,7 +421,7 @@ end_element_handler (GMarkupParseContext *context, static void text_handler (GMarkupParseContext *context, const gchar *text, - gint text_len, + size_t text_len, gpointer user_data, GError **error) { @@ -443,8 +443,8 @@ text_handler (GMarkupParseContext *context, const gchar *range_start; const gchar *range_end; gboolean just_saw_marker; - gint uline_index = -1; - gint uline_len = -1; + ssize_t uline_index = -1; + size_t uline_len = -1; range_end = NULL; range_start = text; |