diff options
author | Owen Taylor <otaylor@redhat.com> | 2001-07-02 03:00:10 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2001-07-02 03:00:10 +0000 |
commit | 078bafecb40dde7522c25e738190d22e1b0a143a (patch) | |
tree | a419d20071214d485f04d9b2a6c77912fe1e6796 | |
parent | aef1b0073214cd31fe38a17064db21ec5260e237 (diff) | |
download | pango-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.
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-0 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-2 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-4 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-1-8 | 6 | ||||
-rw-r--r-- | pango/pango-markup.c | 10 |
8 files changed, 47 insertions, 5 deletions
@@ -1,3 +1,9 @@ +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. + 2001-06-29 Havoc Pennington <hp@redhat.com> * configure.in (QTDIR): don't get confused by qt3 diff --git a/ChangeLog.pre-1-0 b/ChangeLog.pre-1-0 index cbe183fe..1a2abddf 100644 --- a/ChangeLog.pre-1-0 +++ b/ChangeLog.pre-1-0 @@ -1,3 +1,9 @@ +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. + 2001-06-29 Havoc Pennington <hp@redhat.com> * configure.in (QTDIR): don't get confused by qt3 diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10 index cbe183fe..1a2abddf 100644 --- a/ChangeLog.pre-1-10 +++ b/ChangeLog.pre-1-10 @@ -1,3 +1,9 @@ +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. + 2001-06-29 Havoc Pennington <hp@redhat.com> * configure.in (QTDIR): don't get confused by qt3 diff --git a/ChangeLog.pre-1-2 b/ChangeLog.pre-1-2 index cbe183fe..1a2abddf 100644 --- a/ChangeLog.pre-1-2 +++ b/ChangeLog.pre-1-2 @@ -1,3 +1,9 @@ +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. + 2001-06-29 Havoc Pennington <hp@redhat.com> * configure.in (QTDIR): don't get confused by qt3 diff --git a/ChangeLog.pre-1-4 b/ChangeLog.pre-1-4 index cbe183fe..1a2abddf 100644 --- a/ChangeLog.pre-1-4 +++ b/ChangeLog.pre-1-4 @@ -1,3 +1,9 @@ +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. + 2001-06-29 Havoc Pennington <hp@redhat.com> * configure.in (QTDIR): don't get confused by qt3 diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6 index cbe183fe..1a2abddf 100644 --- a/ChangeLog.pre-1-6 +++ b/ChangeLog.pre-1-6 @@ -1,3 +1,9 @@ +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. + 2001-06-29 Havoc Pennington <hp@redhat.com> * configure.in (QTDIR): don't get confused by qt3 diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8 index cbe183fe..1a2abddf 100644 --- a/ChangeLog.pre-1-8 +++ b/ChangeLog.pre-1-8 @@ -1,3 +1,9 @@ +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. + 2001-06-29 Havoc Pennington <hp@redhat.com> * configure.in (QTDIR): don't get confused by qt3 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; |