summaryrefslogtreecommitdiff
path: root/pango/pango-markup.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-07-02 03:00:10 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-07-02 03:00:10 +0000
commit078bafecb40dde7522c25e738190d22e1b0a143a (patch)
treea419d20071214d485f04d9b2a6c77912fe1e6796 /pango/pango-markup.c
parentaef1b0073214cd31fe38a17064db21ec5260e237 (diff)
downloadpango-078bafecb40dde7522c25e738190d22e1b0a143a.tar.gz
Use gssize, not size_t, gssize isn't defined here on all systems.
Sun Jul 1 22:59:02 2001 Owen Taylor <otaylor@redhat.com> * pango/pango-markup.c (text_handler): Use gssize, not size_t, gssize isn't defined here on all systems.
Diffstat (limited to 'pango/pango-markup.c')
-rw-r--r--pango/pango-markup.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/pango/pango-markup.c b/pango/pango-markup.c
index 4b50d36b..019eef8b 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;
- size_t index;
+ gsize index;
GSList *to_apply;
gunichar accel_marker;
gunichar accel_char;
@@ -67,7 +67,7 @@ typedef struct _OpenTag OpenTag;
struct _OpenTag
{
GSList *attrs;
- size_t start_index;
+ gsize 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,
- size_t text_len,
+ gsize 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;
- ssize_t uline_index = -1;
- size_t uline_len = -1;
+ gssize uline_index = -1;
+ gsize uline_len = -1;
range_end = NULL;
range_start = text;