Fix example in documentation comment. Fixes #130701.

2004-01-06  Federico Mena Quintero  <federico@ximian.com>

	* gdk-pixdata.c (gdk_pixbuf_new_from_inline): Fix example in
	documentation comment.  Fixes #130701.
This commit is contained in:
Federico Mena Quintero 2004-01-07 02:26:35 +00:00 committed by Federico Mena Quintero
parent 5119687ac9
commit 65fa5b0f98
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-01-06 Federico Mena Quintero <federico@ximian.com>
* gdk-pixdata.c (gdk_pixbuf_new_from_inline): Fix example in
documentation comment. Fixes #130701.
Wed Jan 7 02:41:14 2004 Matthias Clasen <maclas@gmx.de>
* gdk-pixbuf-io.c (gdk_pixbuf_save_to_bufferv):

View File

@ -865,7 +865,7 @@ gdk_pixdata_to_csource (GdkPixdata *pixdata,
* program, it's probably safe to ignore errors and disable length checks,
* since things will always succeed:
* <informalexample><programlisting>
* pixbuf = gdk_pixbuf_new_from_inline (-1, myimage_inline, NULL);
* pixbuf = gdk_pixbuf_new_from_inline (-1, myimage_inline, FALSE, NULL);
* </programlisting></informalexample>
*
* For non-const inline data, you could get out of memory. For untrusted