mirror of https://github.com/GNOME/gimp.git
allow passing NULL to temp_buf_resize() again.
2001-11-13 Michael Natterer <mitch@gimp.org> * app/base/temp-buf.c: allow passing NULL to temp_buf_resize() again.
This commit is contained in:
parent
63d75ee740
commit
95bc70d933
|
@ -1,3 +1,7 @@
|
|||
2001-11-13 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/base/temp-buf.c: allow passing NULL to temp_buf_resize() again.
|
||||
|
||||
2001-11-13 Michael Natterer <mitch@gimp.org>
|
||||
Sven Neumann <sven@gimp.org>
|
||||
|
||||
|
|
|
@ -316,7 +316,6 @@ temp_buf_resize (TempBuf *buf,
|
|||
{
|
||||
gint size;
|
||||
|
||||
g_return_val_if_fail (buf != NULL, NULL);
|
||||
g_return_val_if_fail (width > 0 && height > 0, NULL);
|
||||
|
||||
/* calculate the requested size */
|
||||
|
|
Loading…
Reference in New Issue