From 65fa5b0f98a40eb7843fc6fe211ddc240fcf6237 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Wed, 7 Jan 2004 02:26:35 +0000 Subject: [PATCH] Fix example in documentation comment. Fixes #130701. 2004-01-06 Federico Mena Quintero * gdk-pixdata.c (gdk_pixbuf_new_from_inline): Fix example in documentation comment. Fixes #130701. --- gdk-pixbuf/ChangeLog | 5 +++++ gdk-pixbuf/gdk-pixdata.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index c09fdd5c47..ad9cd295c4 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,8 @@ +2004-01-06 Federico Mena Quintero + + * gdk-pixdata.c (gdk_pixbuf_new_from_inline): Fix example in + documentation comment. Fixes #130701. + Wed Jan 7 02:41:14 2004 Matthias Clasen * gdk-pixbuf-io.c (gdk_pixbuf_save_to_bufferv): diff --git a/gdk-pixbuf/gdk-pixdata.c b/gdk-pixbuf/gdk-pixdata.c index cc17de48f1..10f14ce0fa 100644 --- a/gdk-pixbuf/gdk-pixdata.c +++ b/gdk-pixbuf/gdk-pixdata.c @@ -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: * - * pixbuf = gdk_pixbuf_new_from_inline (-1, myimage_inline, NULL); + * pixbuf = gdk_pixbuf_new_from_inline (-1, myimage_inline, FALSE, NULL); * * * For non-const inline data, you could get out of memory. For untrusted