Replaced & by &amp; in <programlisting> to make gtk-doc happy.

2007-06-15  Sebastian Wilhelmi  <wilhelmi@google.com>

	* glib/gregex.c: Replaced & by &amp; in <programlisting> to make
	gtk-doc happy.


svn path=/trunk/; revision=5565
This commit is contained in:
Sebastian Wilhelmi 2007-06-15 15:55:37 +00:00 committed by Sebastian Wilhelmi
parent 020af9f1dc
commit e674f5fe77
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2007-06-15 Sebastian Wilhelmi <wilhelmi@google.com>
* glib/gregex.c: Replaced & by &amp; in <programlisting> to make
gtk-doc happy.
2007-06-14 Ryan Lortie <desrt@desrt.ca>
* docs/reference/glib/glib-sections.txt:

View File

@ -1091,7 +1091,7 @@ g_regex_match_simple (const gchar *pattern,
* GMatchInfo *match_info;
* &nbsp;
* regex = g_regex_new ("[A-Z]+", 0, 0, NULL);
* g_regex_match (regex, string, 0, &match_info);
* g_regex_match (regex, string, 0, &amp;match_info);
* while (g_match_info_matches (match_info))
* {
* gchar *word = g_match_info_fetch (match_info, 0);
@ -1160,13 +1160,13 @@ g_regex_match (const GRegex *regex,
* GError *error = NULL;
* &nbsp;
* regex = g_regex_new ("[A-Z]+", 0, 0, NULL);
* g_regex_match_full (regex, string, -1, 0, 0, &match_info, &error);
* g_regex_match_full (regex, string, -1, 0, 0, &amp;match_info, &amp;error);
* while (g_match_info_matches (match_info))
* {
* gchar *word = g_match_info_fetch (match_info, 0);
* g_print ("Found: %s\n", word);
* g_free (word);
* g_match_info_next (match_info, &error);
* g_match_info_next (match_info, &amp;error);
* }
* g_match_info_free (match_info);
* g_regex_unref (regex);