mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-22 20:41:43 +00:00
b46ab216e6
2002-04-12 Michael Natterer <mitch@gimp.org> * app/gimphelp.[ch]: removed usage of "the_gimp" by passing around more "Gimp" pointers. Renamed gimp_standard_help_func() to _gimp_standard_help_func() and declare it in the header. Don't include "app_procs.h". * app/libgimp_glue.[ch]: added gimp_standard_help_func() here. Call _gimp_standard_help_func (the_gimp, ...) like all other wrappers in this file do. I know this is ugly but better let's have all uglyness in one place (here) :-) * app/widgets/gimpitemfactory.[ch]: added a "Gimp" member to the GimpItemFactory struct. Pass it to gimp_help(), * app/gui/menus.c: pass a Gimp to gimp_item_factory_new(), removed useless inclusion of "gimphelp.h". * tools/pdbgen/pdb/help.pdb: pass a Gimp to gimp_help() * app/pdb/help_cmds.c: regenerated. * app/gui/tips-dialog.c: removed gtk_quit_add_destroy() here too because the tips dialog is created by a dialog factory which takes care of dialog destruction.
44 lines
1.3 KiB
C
44 lines
1.3 KiB
C
/* The GIMP -- an image manipulation program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* gimphelp.h
|
|
* Copyright (C) 1999-2000 Michael Natterer <mitch@gimp.org>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program 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 General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __GIMP_HELP_H__
|
|
#define __GIMP_HELP_H__
|
|
|
|
|
|
enum
|
|
{
|
|
HELP_BROWSER_GIMP,
|
|
HELP_BROWSER_NETSCAPE
|
|
};
|
|
|
|
|
|
/* The standard help function */
|
|
void _gimp_standard_help_func (Gimp *gimp,
|
|
const gchar *help_data);
|
|
|
|
/* the main help function */
|
|
void gimp_help (Gimp *gimp,
|
|
const gchar *help_path,
|
|
const gchar *help_data);
|
|
|
|
|
|
#endif /* __GIMP_HELP_H__ */
|