applied the patch from Shuji Narazaki

--Sven
This commit is contained in:
Sven Neumann 1999-11-18 11:37:35 +00:00
parent b1f5ad415e
commit 56ccc43f75
3 changed files with 26 additions and 18 deletions

View File

@ -1,3 +1,9 @@
Thu Nov 18 12:31:08 MET 1999 Sven Neumann <sven@gimp.org>
* libgimp/gimpimage.c: use PARAM_IMAGE instead of PARAM_DRAWABLE in
gimp_image_get_thumbnail_data. Thanks to Shuji Narazaki for pointing
this out.
Wed Nov 17 22:45:35 GMT 1999 Adam D. Moss <adam@gimp.org>
* app/xcf.c: When greeted with a cheerfully corrupt poli^M^M^M^MXCF

View File

@ -1,21 +1,22 @@
/* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
/* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
*/
#include <string.h>
#include "gimp.h"
@ -1201,7 +1202,7 @@ gimp_image_get_thumbnail_data (gint32 image_ID,
return_vals = gimp_run_procedure ("gimp_image_thumbnail",
&nreturn_vals,
PARAM_DRAWABLE, image_ID,
PARAM_IMAGE, image_ID,
PARAM_INT32, *width,
PARAM_INT32, *height,
PARAM_END);

View File

@ -1,21 +1,22 @@
/* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
/* LIBGIMP - The GIMP Library
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
*/
#include <string.h>
#include "gimp.h"
@ -1201,7 +1202,7 @@ gimp_image_get_thumbnail_data (gint32 image_ID,
return_vals = gimp_run_procedure ("gimp_image_thumbnail",
&nreturn_vals,
PARAM_DRAWABLE, image_ID,
PARAM_IMAGE, image_ID,
PARAM_INT32, *width,
PARAM_INT32, *height,
PARAM_END);