diff --git a/ChangeLog b/ChangeLog index 17eba6e15..8a78b0d1f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 17eba6e15..8a78b0d1f 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 17eba6e15..8a78b0d1f 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 17eba6e15..8a78b0d1f 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 17eba6e15..8a78b0d1f 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 17eba6e15..8a78b0d1f 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 17eba6e15..8a78b0d1f 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 17eba6e15..8a78b0d1f 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2002-02-20 Daniel Elstner + + * glib/gstring.[ch] (g_string_erase): Use gssize instead of + gsize as type of the pos and len arguments. (#71964) + 2002-02-20 Simos Xenitellis * configure.in: Added el to ALL_LINGUAS (Greek language). diff --git a/glib/gstring.c b/glib/gstring.c index 6a8f0aa50..817140e2d 100644 --- a/glib/gstring.c +++ b/glib/gstring.c @@ -585,8 +585,8 @@ g_string_insert_unichar (GString *string, GString* g_string_erase (GString *string, - gsize pos, - gsize len) + gssize pos, + gssize len) { g_return_val_if_fail (string != NULL, NULL); g_return_val_if_fail (pos >= 0, string); diff --git a/glib/gstring.h b/glib/gstring.h index 6b3bb5f94..a9127b3d1 100644 --- a/glib/gstring.h +++ b/glib/gstring.h @@ -101,8 +101,8 @@ GString* g_string_insert_unichar (GString *string, gssize pos, gunichar wc); GString* g_string_erase (GString *string, - gsize pos, - gsize len); + gssize pos, + gssize len); GString* g_string_ascii_down (GString *string); GString* g_string_ascii_up (GString *string); void g_string_printf (GString *string,