Fix for #108788 - GError set to FALSE rather than NULL.

This commit is contained in:
Richard Kinder 2003-03-24 02:31:30 +00:00
parent 758cdc5b18
commit e5a153df95
6 changed files with 23 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2003-03-20 Richard Kinder <r_kinder@yahoo.com>
* demos/testpixbuf.c (update_timeout): set error to NULL, not FALSE.
Fixes bug #108778.
2003-03-20 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "ml" in ALL_LINGUAS

View File

@ -1,3 +1,7 @@
2003-03-20 Richard Kinder <r_kinder@yahoo.com>
* demos/testpixbuf.c (update_timeout): set error to NULL, not FALSE.
Fixes bug #108778.
2003-03-20 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "ml" in ALL_LINGUAS

View File

@ -1,3 +1,7 @@
2003-03-20 Richard Kinder <r_kinder@yahoo.com>
* demos/testpixbuf.c (update_timeout): set error to NULL, not FALSE.
Fixes bug #108778.
2003-03-20 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "ml" in ALL_LINGUAS

View File

@ -1,3 +1,7 @@
2003-03-20 Richard Kinder <r_kinder@yahoo.com>
* demos/testpixbuf.c (update_timeout): set error to NULL, not FALSE.
Fixes bug #108778.
2003-03-20 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "ml" in ALL_LINGUAS

View File

@ -1,3 +1,7 @@
2003-03-20 Richard Kinder <r_kinder@yahoo.com>
* demos/testpixbuf.c (update_timeout): set error to NULL, not FALSE.
Fixes bug #108778.
2003-03-20 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "ml" in ALL_LINGUAS

View File

@ -439,7 +439,8 @@ update_timeout (gpointer data)
GError *error;
done = FALSE;
error = FALSE;
error = NULL;
if (!feof (status->imagefile)) {
gint nbytes;
@ -447,7 +448,6 @@ update_timeout (gpointer data)
status->imagefile);
error = NULL;
if (!gdk_pixbuf_loader_write (GDK_PIXBUF_LOADER (status->loader), status->buf, nbytes, &error)) {
g_warning ("Error writing to loader: %s",
error->message);
@ -458,7 +458,7 @@ update_timeout (gpointer data)
}
else
done = TRUE;
done = TRUE;
if (done) {
/* ignoring errors, we should not do that. */