summaryrefslogtreecommitdiff
path: root/gdk-pixbuf
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2004-01-07 03:31:21 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2004-01-07 03:31:21 +0000
commitb421cc485146e20c2af32723c114be9cd126d7c3 (patch)
tree218b8e11b39b8813a2d594d4d0a99a6f78f2e361 /gdk-pixbuf
parent0ee78f89afa65b3786fe1ebc6868d635dfdf33e0 (diff)
downloadgdk-pixbuf-b421cc485146e20c2af32723c114be9cd126d7c3.tar.gz
Escape an ampersand in the documentation comment, and hack around an empty
2004-01-06 Federico Mena Quintero <federico@ximian.com> * gdk-pixbuf-io.c (gdk_pixbuf_save): Escape an ampersand in the documentation comment, and hack around an empty line in the code example so that gtk-doc won't put a <para> due to it.
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r--gdk-pixbuf/ChangeLog4
-rw-r--r--gdk-pixbuf/gdk-pixbuf-io.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog
index 950175968..6a18fb314 100644
--- a/gdk-pixbuf/ChangeLog
+++ b/gdk-pixbuf/ChangeLog
@@ -1,5 +1,9 @@
2004-01-06 Federico Mena Quintero <federico@ximian.com>
+ * gdk-pixbuf-io.c (gdk_pixbuf_save): Escape an ampersand in the
+ documentation comment, and hack around an empty line in the code
+ example so that gtk-doc won't put a <para> due to it.
+
* gdk-pixbuf.c (gdk_pixbuf_get_pixels): Link to the documentation
section on image data.
diff --git a/gdk-pixbuf/gdk-pixbuf-io.c b/gdk-pixbuf/gdk-pixbuf-io.c
index e67564c22..3b7c1da8e 100644
--- a/gdk-pixbuf/gdk-pixbuf-io.c
+++ b/gdk-pixbuf/gdk-pixbuf-io.c
@@ -1273,10 +1273,10 @@ gdk_pixbuf_real_save_to_callback (GdkPixbuf *pixbuf,
* if (gdk_pixbuf_format_is_writable (data))
* *list = g_slist_prepend (*list, data);
* }
- *
+ * <!-- -->
* GSList *formats = gdk_pixbuf_get_formats (<!-- -->);
* GSList *writable_formats = NULL;
- * g_slist_foreach (formats, add_if_writable, &writable_formats);
+ * g_slist_foreach (formats, add_if_writable, &amp;writable_formats);
* g_slist_free (formats);
* </programlisting></informalexample>
*