Remove a pointless check, pointed out by Kjartan Maraas.

2006-03-24  Matthias Clasen  <mclasen@redhat.com>

	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Remove a
	pointless check, pointed out by Kjartan Maraas.
This commit is contained in:
Matthias Clasen 2006-03-24 15:53:22 +00:00 committed by Matthias Clasen
parent 7381f806dc
commit 9e4fe9ded3
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-03-24 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_write): Remove a
pointless check, pointed out by Kjartan Maraas.
2006-03-22 Matthias Clasen <mclasen@redhat.com>
* gdk-pixbuf-loader.c: Add some documentation about

View File

@ -477,7 +477,6 @@ gdk_pixbuf_loader_write (GdkPixbufLoader *loader,
g_return_val_if_fail (GDK_IS_PIXBUF_LOADER (loader), FALSE);
g_return_val_if_fail (buf != NULL, FALSE);
g_return_val_if_fail (count >= 0, FALSE);
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
priv = loader->priv;