From 963926c7954bd74cd8605be60537e2745b9f43a6 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 29 Dec 2001 00:09:15 +0000 Subject: [PATCH] Replace references to deprecated functions. * glib/tmpl/main.sgml, glib/tmpl/string_utils.sgml, glib/tmpl/strings.sgml: Replace references to deprecated functions. --- docs/reference/ChangeLog | 6 ++++++ docs/reference/glib/tmpl/main.sgml | 4 ++-- docs/reference/glib/tmpl/string_utils.sgml | 2 +- docs/reference/glib/tmpl/strings.sgml | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 38298db..56febee 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,9 @@ +2001-12-23 Matthias Clasen + + * glib/tmpl/main.sgml, glib/tmpl/string_utils.sgml, + glib/tmpl/strings.sgml: Replace references to deprecated + functions. + 2001-12-21 Matthias Clasen * glib/glib-sections.txt: Move g_get_charset() to the diff --git a/docs/reference/glib/tmpl/main.sgml b/docs/reference/glib/tmpl/main.sgml index 46a0107..aaf0033 100644 --- a/docs/reference/glib/tmpl/main.sgml +++ b/docs/reference/glib/tmpl/main.sgml @@ -33,10 +33,10 @@ manages all available sources of events. The #GMainLoop data type represents a main event loop. A #GMainLoop is created with g_main_loop_new(). After adding the initial event sources, - g_main_run() is called. This continuously checks for new events from + g_main_loop_run() is called. This continuously checks for new events from each of the event sources and dispatches them. Finally, the processing of an event from one of the sources leads to a call to - g_main_quit() to exit the main loop, and g_main_run() returns. + g_main_loop_quit() to exit the main loop, and g_main_loop_run() returns. It is possible to create new instances of #GMainLoop recursively. diff --git a/docs/reference/glib/tmpl/string_utils.sgml b/docs/reference/glib/tmpl/string_utils.sgml index 5c399aa..1ad7edc 100644 --- a/docs/reference/glib/tmpl/string_utils.sgml +++ b/docs/reference/glib/tmpl/string_utils.sgml @@ -755,7 +755,7 @@ character compressed. For each character in @string, if the character is not in @valid_chars, replaces the character with @substitutor. Modifies @string in place, and return @string itself, not a copy. The return value is to allow -nesting such as g_strup (g_strcanon (str)). +nesting such as g_ascii_strup (g_strcanon (str, "abc", '?')). @string: a nul-terminated array of bytes. diff --git a/docs/reference/glib/tmpl/strings.sgml b/docs/reference/glib/tmpl/strings.sgml index 738f987..0e34ac9 100644 --- a/docs/reference/glib/tmpl/strings.sgml +++ b/docs/reference/glib/tmpl/strings.sgml @@ -125,7 +125,7 @@ documentation. Appends a formatted string onto the end of a #GString. -This function is is similar to g_string_sprintf() except that +This function is is similar to g_string_printf() except that the text is appended to the #GString. -- 2.7.4