removed gradients_get_gradient_data() here...
2001-10-26 Michael Natterer <mitch@gimp.org> * tools/pdbgen/pdb/gradient_select.pdb: removed gradients_get_gradient_data() here... * tools/pdbgen/pdb/gradients.pdb: ...and added it here. * app/pdb/gradient_select_cmds.c * app/pdb/gradients_cmds.c * app/pdb/internal_procs.c * libgimp/gimpgradients_pdb.[ch] * libgimp/gimpgradientselect_pdb.[ch]: regenerated. * app/core/gimpgradient.h: added GIMP_GRADIENT_DEFAULT_SAMPLE_SIZE here... * app/gui/gradient-select.h: ...removed it here. * libgimp/Makefile.am * libgimp/gimp.h * libgimp/gimpgradientselect.[ch]: removed. We don't wrap _gradients_get_gradient_data() with gradients_get_gradient_data() any more but call the PDB wrapper directly. API CHANGE: Arguments 2 and 3 are swapped now! * plug-ins/FractalExplorer/Dialogs.c: changed accordingly.
This commit is contained in:
committed by
Michael Natterer
parent
057ce3f474
commit
552e26715f
@ -1,31 +0,0 @@
|
||||
/* LIBGIMP - The GIMP Library
|
||||
* Copyright (C) 1995-2000 Peter Mattis and Spencer Kimball
|
||||
*
|
||||
* gimpgradientselect.c
|
||||
*
|
||||
* 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
|
||||
* Lesser 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 "gimp.h"
|
||||
|
||||
gchar *
|
||||
gimp_gradients_get_gradient_data (gchar *name,
|
||||
gint *width,
|
||||
gint sample_size,
|
||||
gdouble **grad_data)
|
||||
{
|
||||
return _gimp_gradients_get_gradient_data (name, sample_size, width, grad_data);
|
||||
}
|
||||
Reference in New Issue
Block a user