mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
540aa5ce66
2004-05-19 Michael Natterer <mitch@gimp.org> * tools/pdbgen/pdb/plug_in.pdb: made plugin_icon_register() an underscore-prefixed function which needs to be wrapped. * libgimp/gimpplugin_pdb.[ch]: regenerated. * libgimp/Makefile.am * libgimp/gimp.h * libgimp/gimpplugin.[ch]: new files containing gimp_plugin_icon_register() which has no "icon_data_length" parameter and determines it from the passed icon data. * libgimp/gimp.def: added gimp_plugin_icon_register. * plug-ins/common/plugindetails.c * plug-ins/common/screenshot.c * plug-ins/common/uniteditor.c * plug-ins/print/print.c: don't pass the icon_data_length.
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
/* LIBGIMP - The GIMP Library
|
|
* Copyright (C) 1995-2003 Peter Mattis and Spencer Kimball
|
|
*
|
|
* gimpplugin.h
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#ifndef __GIMP_PLUG_IN_H__
|
|
#define __GIMP_PLUG_IN_H__
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
/* For information look into the C source or the html documentation */
|
|
|
|
|
|
gboolean gimp_plugin_icon_register (const gchar *procedure_name,
|
|
GimpIconType icon_type,
|
|
const guint8 *icon_data);
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __GIMP_PLUG_IN_H__ */
|