diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2001-12-29 00:09:15 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2001-12-29 00:09:15 +0000 |
commit | 963926c7954bd74cd8605be60537e2745b9f43a6 (patch) | |
tree | ff7ee046e15d04614582fa866735705294e64902 /docs | |
parent | 5647fea14ec6b15a7edc516afa818a856263e174 (diff) |
Replace references to deprecated functions.
* glib/tmpl/main.sgml, glib/tmpl/string_utils.sgml,
glib/tmpl/strings.sgml: Replace references to deprecated
functions.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/reference/ChangeLog | 6 | ||||
-rw-r--r-- | docs/reference/glib/tmpl/main.sgml | 4 | ||||
-rw-r--r-- | docs/reference/glib/tmpl/string_utils.sgml | 2 | ||||
-rw-r--r-- | 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 38298dbe6..56febee5b 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,9 @@ +2001-12-23 Matthias Clasen <matthias@poet.de> + + * glib/tmpl/main.sgml, glib/tmpl/string_utils.sgml, + glib/tmpl/strings.sgml: Replace references to deprecated + functions. + 2001-12-21 Matthias Clasen <matthias@poet.de> * 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 46a010715..aaf003314 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. <para> 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. </para> <para> 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 5c399aa69..1ad7edc8d 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 <literal>g_strup (g_strcanon (str))</literal>. +nesting such as <literal>g_ascii_strup (g_strcanon (str, "abc", '?'))</literal>. </para> @string: a nul-terminated array of bytes. diff --git a/docs/reference/glib/tmpl/strings.sgml b/docs/reference/glib/tmpl/strings.sgml index 738f98789..0e34ac9cd 100644 --- a/docs/reference/glib/tmpl/strings.sgml +++ b/docs/reference/glib/tmpl/strings.sgml @@ -125,7 +125,7 @@ documentation. <!-- ##### FUNCTION g_string_append_printf ##### --> <para> 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. </para> |