Commit adad0f47 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

Well, sometimes the most obvious solution is not the first one...

2002-04-12  Michael Natterer  <mitch@gimp.org>

	Well, sometimes the most obvious solution is not the first one...

	* app/gimphelp.[ch]: removed _gimp_standard_help_func().

	* app/libgimp_glue.c (gimp_standard_help_func): call gimp_help()
	directly.
parent b46ab216
2002-04-12 Michael Natterer <mitch@gimp.org>
Well, sometimes the most obvious solution is not the first one...
* app/gimphelp.[ch]: removed _gimp_standard_help_func().
* app/libgimp_glue.c (gimp_standard_help_func): call gimp_help()
directly.
2002-04-12 Michael Natterer <mitch@gimp.org>
 
* app/gimphelp.[ch]: removed usage of "the_gimp" by passing around
......
......@@ -76,17 +76,6 @@ static void gimp_help_netscape (Gimp *gimp,
/* public functions */
/* The standard help function */
void
_gimp_standard_help_func (Gimp *gimp,
const gchar *help_data)
{
g_return_if_fail (GIMP_IS_GIMP (gimp));
gimp_help (gimp, NULL, help_data);
}
/* the main help function */
void
gimp_help (Gimp *gimp,
const gchar *help_path,
......
......@@ -30,14 +30,13 @@ enum
};
/* 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);
/* the main help function
*
* there should be no need to use it in the common case
*/
void gimp_help (Gimp *gimp,
const gchar *help_path,
const gchar *help_data);
#endif /* __GIMP_HELP_H__ */
......@@ -166,5 +166,5 @@ gimp_unit_get_plural (GimpUnit unit)
void
gimp_standard_help_func (const gchar *help_data)
{
_gimp_standard_help_func (the_gimp, help_data);
gimp_help (the_gimp, NULL, help_data);
}
......@@ -76,17 +76,6 @@ static void gimp_help_netscape (Gimp *gimp,
/* public functions */
/* The standard help function */
void
_gimp_standard_help_func (Gimp *gimp,
const gchar *help_data)
{
g_return_if_fail (GIMP_IS_GIMP (gimp));
gimp_help (gimp, NULL, help_data);
}
/* the main help function */
void
gimp_help (Gimp *gimp,
const gchar *help_path,
......
......@@ -30,14 +30,13 @@ enum
};
/* 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);
/* the main help function
*
* there should be no need to use it in the common case
*/
void gimp_help (Gimp *gimp,
const gchar *help_path,
const gchar *help_data);
#endif /* __GIMP_HELP_H__ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment