1997-11-24 22:05:25 +00:00
|
|
|
/* The GIMP -- an image manipulation program
|
|
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
|
|
*
|
|
|
|
* 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
|
1998-04-13 05:44:11 +00:00
|
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
1997-11-24 22:05:25 +00:00
|
|
|
*/
|
2000-12-16 21:37:03 +00:00
|
|
|
|
2000-04-27 17:27:28 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
2000-12-29 15:22:01 +00:00
|
|
|
#include <gtk/gtk.h>
|
2000-12-16 21:37:03 +00:00
|
|
|
|
2001-01-24 22:36:18 +00:00
|
|
|
#include "libgimpwidgets/gimpwidgets.h"
|
2001-01-23 18:49:44 +00:00
|
|
|
|
2004-04-20 13:25:55 +00:00
|
|
|
#include "actions-types.h"
|
2001-02-21 12:18:09 +00:00
|
|
|
|
2004-05-03 14:03:51 +00:00
|
|
|
#include "actions.h"
|
2002-03-20 20:08:19 +00:00
|
|
|
#include "help-commands.h"
|
1999-06-20 23:29:34 +00:00
|
|
|
|
1997-11-24 22:05:25 +00:00
|
|
|
|
1999-09-27 17:58:10 +00:00
|
|
|
void
|
2004-04-29 12:52:29 +00:00
|
|
|
help_help_cmd_callback (GtkAction *action,
|
2006-04-12 12:49:29 +00:00
|
|
|
gpointer data)
|
1999-09-27 17:58:10 +00:00
|
|
|
{
|
2003-08-23 19:35:05 +00:00
|
|
|
gimp_standard_help_func (NULL, NULL);
|
1999-09-27 17:58:10 +00:00
|
|
|
}
|
|
|
|
|
1997-11-24 22:05:25 +00:00
|
|
|
void
|
2004-04-29 12:52:29 +00:00
|
|
|
help_context_help_cmd_callback (GtkAction *action,
|
2006-04-12 12:49:29 +00:00
|
|
|
gpointer data)
|
1997-11-24 22:05:25 +00:00
|
|
|
{
|
2005-02-03 19:27:56 +00:00
|
|
|
GtkWidget *widget;
|
|
|
|
return_if_no_widget (widget, data);
|
2004-04-29 12:52:29 +00:00
|
|
|
|
2005-02-03 19:27:56 +00:00
|
|
|
gimp_context_help (widget);
|
1997-11-24 22:05:25 +00:00
|
|
|
}
|